We use several testing classes within one test
folder. When I run mvn test
, all tests are run and I can see the output in the shell. But the resulting testng-results.xml only has the results of the last class which was tested in it. This isn't too bad for me, but our hudson server only displays these last results and only marks a build as failed if one test within that last class failed.
How can I use TestNG with tests split over several classes which will be aggregated into on results-xml?
[update] Just found this question, but also no answer. [/update]