Example - Test Results JUnit Format

JUnit is a unit testing framework designed for Java programming (visit http://junit.org/junit4/ for more information). The Micro Focus Unit Testing Framework is capable of producing JUnit-style reports for each individual test case, even when 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.