-
should have lifecycle which expires objects, e.g. migrate to glacier IR after X days and delete after X days
-
may have multiple lifecycles depending on prefixes
JUnit in most respects is a superset of surefire. In most cases they can be treated interchangeably and produce almost identical results, with a single XML per testsuite.
Junit supports aggregating multiple testsuites into a single XML file with a testsuites root element.
For this document, when referring to junit XML, support for surefire XML is assumed.
TestNG does not have a published DTD or XSD for testng-results.xml. testng-team/testng#2371
Workaround Recommendation: TestNG projects should generate test results in Junit XML format.
Build System | Goal/Task | Link |
---|---|---|
Maven |
testng:junit-report |
|
Gradle |
test (defaults to Junit format) |