一、testNG官網下載eclipse插件地址:https://testng.org/doc/download.html
最新的插件地址:https://dl.bintray.com/testng-team/testng-eclipse-release/.
二、在eclipse中安裝插件
1. help->install new software画饥,點擊add湃交,Name: testNG淮椰,Location:?https://dl.bintray.com/testng-team/testng-eclipse-release/.
2. 勾選插件后忱反,點擊Next后纠修,eclipse即開始安裝插件巾乳,安裝完成后提示重啟eclipse。
3. 重啟后查看是否安裝成功,File -> New -> Other