如何更新IntelliJ IDEA testingplugin到TestNG版本6.8?

时间:2022-09-05 09:38:33

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  

  1. Download the complete TestNG 6.8 zip.
  2. 下载完整的TestNG 6.8 zip。
  3. Delete IDEA\plugins\testng\lib\testng-jdk15.jar.
  4. 删除想法\ plugins \ testng \ lib \ testng-jdk15.jar。
  5. Copy testng-6.8.jar from the downloaded zip into IDEA\plugins\testng\lib.
  6. 复制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  

  1. Download the complete TestNG 6.8 zip.
  2. 下载完整的TestNG 6.8 zip。
  3. Delete IDEA\plugins\testng\lib\testng-jdk15.jar.
  4. 删除想法\ plugins \ testng \ lib \ testng-jdk15.jar。
  5. Copy testng-6.8.jar from the downloaded zip into IDEA\plugins\testng\lib.
  6. 复制testng - 6.8。从下载的zip压缩到IDEA\插件testng\lib。

For IDEA 12+: replace testng.jar instead of testng-jdk15.jar.

对于想法12+:替换testng。代替testng-jdk15.jar jar。