What it the equivalent of using the @RunWith annotation for Junit 3.8? I've searched for a while on this, but Junit 3.8 is much older and I haven't been able to find much on the subject. We are using a 1.4 jre so Junit 4 is out of the question to use.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
If I remember correctly we used to do our own TestRunner implementations that our suites extended.
回答2:
Turns out we can use Junit 4 to execute tests with Junit 3.8 by using the Junit38ClassRunner which is included in Junit 4.