Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running TestNG Test in IntelliJ

After running Rebuild Project successfully in IntelliJ 13.1.3 Ultimate IDE, I opened my Test NG test file.

When right-clicking on the file, I don't see any option to run the test.

How can I run an TestNG test in IntelliJ 13.1.3?

This question is similar, but it's from 2012 with an unaccepted answer.

like image 467
Kevin Meredith Avatar asked Jul 08 '14 14:07

Kevin Meredith


1 Answers

Yes you can!

Сheck the folder that contains the test classes whether marked as Test Source Root. In another case see whether installed TestNG-J plugin.

Update:

enter image description here

like image 143
Anton Dozortsev Avatar answered Sep 29 '22 00:09

Anton Dozortsev