TestNG使用总结
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