开发者

Run more than one class programmatically

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜