Previous Topic Next topic Print topic


Example - Test Results JUnit Format

JUnit-style reports are produced for each individual test case, even if there are multiple test cases in a test run.

This type of results format is not produced by default; use the -report:{junit|nojunit} option to control if the report is produced, and use the -junit-packname:<package-name> option to group the reports under one package name.

These reports are located in the same directory as the test suite by default; use the -outdir:<directory> option to specify a different output directory.

The following example shows a failing test displayed inside a browser, but you can use this format of file in other third-party applications, such as a Jenkins CI server.

Previous Topic Next topic Print topic