Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Getting started with TestNG in IntelliJ?

$
0
0

Hi all, I can't help but think I'm missing something obvious. I'm new to this IDE, and have failed to discover how to create a TestNG test. I just downloaded the current community editionl, and created a simple Java class with a trivial method in. Then I created another class and annotated a method with @Test. This shows in red, and does not offer the suggestion of importing the org.testng annotation. I tried to add the TestNG library, and there's nothing on the list, and I can't see any other way to get it there. Am I supposed to manually install this? I got the very distinct impression that this was "built in" to IntelliJ, and I don't want to do it the wrong way. All the docs I managed to find seem to imply it should "just work"

 

Suggestions?

 

TIA

Simon


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>