开发者

Changing the default TestRunner in Eclipse

开发者 https://www.devze.com 2022-12-10 17:19 出处:网络
All tests should be run with jUnit3, if i run a non-configured Test, it tries to use the default-TestRunner (jUnit4).

All tests should be run with jUnit3, if i run a non-configured Test, it tries to use the default-TestRunner (jUnit4).

So, i have to go into the run/debug configuration, change the TestRunner to "jUnit3" and run it again.

On EVERY Test. T开发者_StackOverflowhis just disturbs the workflow.

So, is there an option to REMOVE jUnit4 as possible TestRunner, or even better, change the Default TestRunner to jUnit3 ?

Thanks in Advance,


Make sure the junit 3 JAR is on the classpath and not the JUnit 4 JAR. Then, Eclipse should do the right thing.

0

精彩评论

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