Configuring IntelliJ IDEA for unit testing with JUnit
I decided to try out IntelliJ this morning via the trial version and installed the JUnit plugin. I made a new Java project and I want to write a test case for it.
How do I add the junit.jar file to my project? (I actually want to add it to every java project, now and forever more - is there a way of doing that?).
请先登录再写评论。
Hi Farid, we have guides for testing frameworks setup, you can read the JUnit one here https://www.jetbrains.com/help/idea/junit.html
You can also read answers here https://stackoverflow.com/questions/4757800/configuring-intellij-idea-for-unit-testing-with-junit