开发者

running test cases from a java class

开发者 https://www.devze.com 2023-01-21 05:29 出处:网络
I have say 10 test cases, and 开发者_C百科i want to run them from a java class, i can get the Junit\'s class name only at runtime. Is it possible to do so.

I have say 10 test cases, and 开发者_C百科i want to run them from a java class, i can get the Junit's class name only at runtime. Is it possible to do so.

Please help me.


org.junit.runner.JUnitCore.run(Class<?>...)

It supports multiple test classes. From JUnit4.

0

精彩评论

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

关注公众号