Link:
http://testng.org/doc/index.html
Online Installation
1. Click menu button
Help ->
Install New Softerware
2. Click
Add... button.
3. Input location
http://beust.com/eclipse
4. Install it , and then restart Eclipse.
Offline Installation
下载离线包后,解压缩:
1. 把解压后的features中解压出来的testng中的features中的文件夹放入对应的eclipse的features文件夹内
2. 把解压后的plugins中解压出来的testng中的plugins中的文件夹放入对应的eclipse的plugins文件夹内
3. 重启Eclipse
验证是否安装成功
File -> New -> Other -> TestNG