Reputation: 3521
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
Upvotes: 7
Views: 5108
Reputation: 21381
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.
Upvotes: 3