Currently, I am using TestNG 6.8 with Maven, but when I run the test through the IntelliJ IDEA plugin, it uses an old version of TestNG.
目前,我正在使用TestNG 6.8与Maven,但是当我通过IntelliJ IDEA插件运行测试时,它使用了一个旧版本的TestNG。
How can I make IntelliJ IDEA (version 11.1.4) work with TestNG 6.8?
如何使IntelliJ IDEA(11.1.4版本)与TestNG 6.8一起工作?
1 个解决方案
#1
8
- Download the complete TestNG 6.8 zip.
- 下载完整的TestNG 6.8 zip。
- Delete
IDEA\plugins\testng\lib\testng-jdk15.jar
. - 删除想法\ plugins \ testng \ lib \ testng-jdk15.jar。
- Copy
testng-6.8.jar
from the downloaded zip intoIDEA\plugins\testng\lib
. - 复制testng - 6.8。从下载的zip压缩到IDEA\插件testng\lib。
For IDEA 12+: replace testng.jar
instead of testng-jdk15.jar
.
对于想法12+:替换testng。代替testng-jdk15.jar jar。
#1
8
- Download the complete TestNG 6.8 zip.
- 下载完整的TestNG 6.8 zip。
- Delete
IDEA\plugins\testng\lib\testng-jdk15.jar
. - 删除想法\ plugins \ testng \ lib \ testng-jdk15.jar。
- Copy
testng-6.8.jar
from the downloaded zip intoIDEA\plugins\testng\lib
. - 复制testng - 6.8。从下载的zip压缩到IDEA\插件testng\lib。
For IDEA 12+: replace testng.jar
instead of testng-jdk15.jar
.
对于想法12+:替换testng。代替testng-jdk15.jar jar。