开发者

launching TestNG classes

开发者 https://www.devze.com 2023-01-28 18:42 出处:网络
Im having trouble with lanching a TestNG class. when i hit runqdebug it says o the bottom screen \"Launcing \'TestNme\'..\"

Im having trouble with lanching a TestNG class. when i hit runqdebug it says o the bottom screen "Launcing 'TestNme'.." but it keep gettingstuck 57% and my only option is to shut down eclipse. Thia problem only accurs when launhing the tests from a spe开发者_StackOverflow社区cific project. What could be the possible reason for te test to run from one project but not the other?

Thanks


Do you already have a testng.jar file on the build classpath of your project? That's usually the reason for this problem.

The TestNG Eclipse plug-in has its own, so you can remove the one you have and it should fix your problem.

I'll try to improve the plug-in to avoid this problem but I'm not 100% positive it's possible.

0

精彩评论

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

关注公众号