As described in the section called “Test-NG configuration”, each test case must be included in Test Suite configuration.
src/test/resources/
, for example example.xml
in the created xml file add new test case as follows, creating new Suite (specifying name) with a list of tests (specifying names), and each test can contain multiple classes (for details please refer to TestNG documentation)
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd" > <suite name="Tigase Various Tests" verbose="1"> <test name="Example Tests"> <classes> <class name="tigase.tests.ExampleJaxmppTest" /> </classes> </test> </suite>