2016-08-01 143 views

回答

2

Android Studio和IntelliJ差不多。 Android Studio 2.1.2基於IntelliJ 15.然後,當你想做一些沒有被Android Studio正式記錄的東西時,你應該參考IntelliJ文檔。

關於TestNG的,該文件的IntelliJ是https://www.jetbrains.com/help/idea/15.0/run-debug-configuration-testng.html

如果您發現的IntelliJ TestNG的選項,你就贏了。否則,我們可以斷定這是不可能的(但IntelliJ with Android插件應該能夠做到這一點)。

2

Yest它是possible.You需要添加以下的中的build.gradle代碼行 - >依賴部

testCompile 'org.assertj:assertj-core:2.0.0' 
    testCompile 'org.testng:testng:6.9.10' 

問候,

Anuja

相關問題