开发者

Excluding JUnit tests in eclipse

开发者 https://www.devze.com 2023-01-30 17:46 出处:网络
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, i

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消