首页 > 其他 > 详细

TestNG使用总结

时间:2015-07-16 02:02:06      阅读:384      评论:0      收藏:0      [点我收藏+]

1、Eclipse中安装TestNG的方法

打开Eclipse   Help ->Install New Software ,   然后Add   "http://beust.com/eclipse"

技术分享

选中TestNG进行安装即可

2、选中测试文件,右键,点Run As ->TestNG Test报错:
Couldn‘t contact the Remote TestNg client, Uncheck the ‘Use Project testng.jar‘ option from your Project Properties and try again.

需要去掉Use Project testng.jar前面的勾选

技术分享

该问题参考:https://github.com/cbeust/testng-eclipse/issues/144

 

TestNG使用总结

原文:http://www.cnblogs.com/mingziday/p/4649940.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!