TestNG on single class?

I'm using TestNG-J with IDEA 5.1.2.

So far I've been able to run TestNG on "suites" defined in XML files. But I can't get it to run on a single test class, either by

1. creating a configuration to "Test: Class" with the full classpath (my.package.TestClass), or
2. right-clicking the class in the Project pane and selecting "Run"

In both cases the TestNG-J panel starts up but ends with "WARNING: No test suite found. Nothing to run."

How do I get TestNG-J to run on a class without making a suite?

Please sign in to leave a comment.