一、在eclipse界面選擇「Help」--"Eclipse Marketplace"中進行查找TestNG 而後進「install」 (成功)eclipse
二、在eclipse界面選擇「Help」--「install New Software」,選擇【Add】,在location中輸入http://beust.com/eclipse,選擇TestNG,點擊【Next】,開始下載安裝。安裝完成後,選擇「Build Path」「Configure Build Path」,在「Task Repository」下有「TestNG」標籤。安裝成功。(失敗);ui
3.下載TestNG插件放到eclipse的插件夾下進行使用;(版本不匹配,執行報錯)spa