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 (version 11.1.4) work with TestNG 6.8?
IDEA\plugins\testng\lib\testng-jdk15.jar
.testng-6.8.jar
from the downloaded zip into IDEA\plugins\testng\lib
.For IDEA 12+: replace testng.jar
instead of testng-jdk15.jar
.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With