码迷,mamicode.com
首页 > 其他好文 > 详细

TestNG使用总结

时间:2015-07-16 02:03:51      阅读:168      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!