1.eclipse+python+unittest
(1)eclipse安裝
下載地址:https://www.eclipse.org/downloads/
必須先安裝jdk,參考資料:https://www.cnblogs.com/xing901022/p/3955794.html
(2)PyDev插件安裝
打開eclipse—>help—>install new software—>work with:pydev選擇安裝
Window—>preferences—>pydev—>Interpreters—>Python Interpeter—>new—>Browser—>選擇路徑:D:\Python37\python.exe—>ok—>select all—>ok—>apply —>ok
(3)檢查是否安裝成功
file—>new—>pydev project(或者othe—>pydev project)
2.eclipse+java+testNG
(1)eclipse安裝(同上)
(2)testNG安裝
testNG下載地址:https://marketplace.eclipse.org/content/testng-eclipse#group-external-install-button
打開eclipse,將上述網(wǎng)址中的install直接拖進eclipse中,自動安裝。
參考資料:http://testng.org/doc/download.html
(3)檢查是否安裝成功
file—>new—>other—>testNG
(4)準(zhǔn)備jar包
httpclient-4.3.6.jar:http://grepcode.com/snapshot/repo1.maven.org/maven2/org.apache.httpcomponents/httpclient/4.3.6
httpcore-4.3.3.jar:http://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore/4.3.3
selenium-java-2.43.0.jar:http://maven.outofmemory.cn/org.seleniumhq.selenium/selenium-java/2.47.0/
selenium-server-standalone-2.42.2.jar:http://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-server-standalone/2.53.0
testng.jar:http://grepcode.com/snapshot/repo1.maven.org/maven2/org.testng/testng/6.8.8