一、安装eclipse
官方下载地址:https://www.eclipse.org/downloads/
开始下载…
下载完成后–>傻瓜式安装
二、安装testNG插件
链接:http://dl.bintray.com/testng-team/testng-eclipse-release/
1)在eclipse中help-Install New Software中点击“Add…”,
2)Name栏填写testng
Location填写http://dl.bintray.com/testng-team/testng-eclipse-release/
3)后面安装步骤直接Next,切记安装后重启eclipse才能生效
三、安装完成后,测试一下
输出:
如上,表示成功安装了