开发者

Run more than one class programmatically

开发者 https://www.devze.com 2023-02-05 06:57 出处:网络
I want to run more than one class programmatically.Can anyone tell me the best way to run more than one c开发者_开发百科lass one by one programmmatically?Something like this maybe?

I want to run more than one class programmatically. Can anyone tell me the best way to run more than one c开发者_开发百科lass one by one programmmatically?


Something like this maybe?

TestNG result = new TestNG();
result.setTestClasses(new Class[] { A.class, A.class });
result.run();
0

精彩评论

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