JUnit is a unit testing framework for the Java programming language.
The JUnit plug-in is used to publish results from a JUnit test into a report as part of the build process. This plug-in includes the following step:
To access this plug-in in the palette, click Quality > Testing > JUnit.
This plug-in requires IBM UrbanCode Build version 6.1 and later.
The plug-in runs on any agents that the IBM UrbanCode Build server supports.
No special steps are required for installation. See Installing plug-ins in UrbanCode.
Address a potential 500 server response due to having test suites with no names.
Add optional timeout setting for calls to UCB server.
Support property file encryption.
Update the description of step properties
Version 5 includes the following features and fixes:
- Added RPX dependency.
- Translation for step information.
Version 4 includes the following features and fixes:
- Fixed a communication issue where the UrbanCode Build server would fail if it was running with an IBM JDK or JRE.
Version 3 includes the following features and fixes:
- Update to a newer version of a library for HTTP communication.
Use this step to publish JUnit results as a report.
|Exclude Patterns||String||A list of patterns used to determine which JUnit XML files to exclude from the report.
Specify each pattern on a new line. Files that match the specified
patterns are unconditionally excluded from the report. Patterns can include ?, *,
|Include Patterns||String||A list of patterns used to determine which JUnit XML files to include in the report.
Specify each pattern on a new line. Patterns can include ?, *, or **.
|Report Name||String||The name of the report.||No|
|Request Timeout||String||The timeout value in milliseconds to use for the HTTP requests sent to the UCB server.||No|
|Source Directory||String||The directory that contains the test output.||Yes|
|Truncate Test Suite Name||Boolean||Remove the package name from the published test suite name. If this property is not enabled, the full class name of the test suite is included.||No|