Excluding JUnit tests in eclipse
Hey
I have a whole bunch of unit tests. I have placed them into suitable test suites. I would like to be able to click on the root directory and go run JUnit tests to execute all the tests. However, if I do this it runs all the tests AND then runs the testsuites. Therefore running all the tests again.Is there someway to exclude开发者_开发技巧 the testsuites in Eclipse? thanks
When you right click on the project directory and Run As > JUnit test
it's basically the relevant run configuration that is being triggered. Therefore go to Run > Run Configurations
and on the left panel see exactly what your JUnit configuration is actually doing and configure accordingly.
精彩评论