如何将IntelliJ IDEA测试插件更新到TestNG 6.8版? [英] How to update IntelliJ IDEA testing-plugin to TestNG version 6.8?

查看:572
本文介绍了如何将IntelliJ IDEA测试插件更新到TestNG 6.8版?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我正在使用 TestNG 6.8 wiki / Apache_Maven> Maven ,但当我通过 IntelliJ IDEA 插件运行测试时,它使用的是旧版本的TestNG。

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.

如何让IntelliJ IDEA(版本11.1.4)与TestNG 6.8配合使用?

How can I make IntelliJ IDEA (version 11.1.4) work with TestNG 6.8?

推荐答案


  1. 下载完整的TestNG 6.8 zip

  2. 删除 IDEA \plugins\testng \ lib\testng-jdk15.jar

  3. 从下载的zip中将 testng-6.8.jar 复制到 IDEA\plugins\testng\lib

  1. Download the complete TestNG 6.8 zip.
  2. Delete IDEA\plugins\testng\lib\testng-jdk15.jar.
  3. Copy testng-6.8.jar from the downloaded zip into IDEA\plugins\testng\lib.

对于IDEA 12+:替换 testng.jar 而不是 testng-jdk15.jar

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

这篇关于如何将IntelliJ IDEA测试插件更新到TestNG 6.8版?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆