天天看點

Eclipse 安裝 TestNG插件

Eclipse 離線安裝TestNG插件

    • TestNG 介紹
    • 1、建立TestNG檔案夾
    • 2、解壓TestNG插件壓縮包
    • 3、将features與plugins檔案夾拷貝到
    • 4、重新開機Eclipse,在建立向導中搜尋TestNG

TestNG 介紹

TestNG是一個測試架構、開源的自動化測試工具,覆寫各種類型的測試:單元測試,功能測試,內建測試等。在 JUnit 和 NUnit 的基礎上引入了新的功能,使其功能更強大,使用更友善。

1、建立TestNG檔案夾

在eclipse安裝目錄下的dropins 檔案夾(D:\eclipse\dropins)建立TestNG 檔案夾

Eclipse 安裝 TestNG插件

2、解壓TestNG插件壓縮包

插件下載下傳:site_assembly

Eclipse 安裝 TestNG插件

3、将features與plugins檔案夾拷貝到

testng-eclipse-6.11

Eclipse 安裝 TestNG插件

拷貝後eclipse dropins 的目錄内容

D:\eclipse  
     dropins\
        testng-eclipse-6.11\
            features\
               org.testng.eclipse.maven.feature_6.11.0.201703011520.jar
               org.testng.eclipse_6.11.0.201703011520.jar 
            plugins\
               org.testng.eclipse.maven_6.11.0.201703011520.jar
               org.testng.eclipse_6.11.0.201703011520.jar
           

4、重新開機Eclipse,在建立向導中搜尋TestNG

Eclipse 安裝 TestNG插件

繼續閱讀