How to update IntelliJ IDEA testing-plugin to TestNG version 6.8?

后端 未结 2 992
有刺的猬
有刺的猬 2021-01-05 01:42

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.

How can I make IntelliJ IDEA

2条回答
  •  独厮守ぢ
    2021-01-05 01:53

    Here's a better way: In "Project Structure" -> "Modules" -> "Dependencies", click the left bottom "+" to add a new dependency from either pre-downloaded jar file, or library from Maven repository. Remember to remove the old TestNG version, or move the new version to above that.

提交回复
热议问题