Surefire API

Definitions

test methodindividual test method within a class
test1..N test methods in 1 or more classes.
suite1..N tests.
groupA named subset of test methods within a test.

How each definition is applied depends on the provider, and the test suite being used.

Directory test suite: this constructs a single suite from a directory file set. Each discovered class is treated as a test.

TestNG XML test suite: this constructs a single suite from a testng.xml file. The definitions inside the file will match those above.

JUnit 3.x: Groups are not supported.

See for more information on specific providers. |