一、打開eclipse,選擇菜單而後在彈出的窗口中的Work with後面的輸入框中輸入:
http://beust.com/eclipse。 以下圖:html
TestNG Eclipse插件下載地址http://testng.org/doc/download.html。eclipse
下載下來之後,放在eclipse的plugins文件夾下,而後啓動eclipse,點擊Help -> software update -> Installed Software, 查找到TestNG Eclipse插件,點擊Install(安裝),安裝完成後,重啓eclipse。spa
而後去Windows -> show view -> other,Java文件夾下,有TestNG,雙擊圖標,在eclipse界面下面便會出現TestNg的窗體。.net