JUnit-style HTML reports in ReadyAPI are HTML reports similar to
junitreport reports. This report template is available right after you install ReadyAPI, so you can use it without any preparations.
To create a JUnit-style report:
Run a test case or a test suite or a project
When the test run finishes, click .
In the Create Report dialog, select the JUnit-Style HTML report for automation type.
Select a style for the report. You have two options:
Single Page (print)
Creates a single-page printable report.
Splits the report into multiple pages.
Specify the output folder manually in the Folder field or click Browse and select the target folder.
ReadyAPI will create the report. It will then appear in your default browser:
|The JUnit reports will list all the executed Test Suites and Test Cases for the run project/test suite/test case and their success/failure results. In addition, for the failed test cases the JUnit report will also list all the corresponding test steps that have failed alongside the failure, error details, and the reason.
Fonts in Linux
ReadyAPI reports use some of Microsoft core fonts. Not all Linux installations include these fonts. If you have issues with creating reports:
Install the mscorefonts package applicable for your Linux distributive.
Copy TTF files from /usr/share/fonts/truetype/msttcorefonts to the <ReadyAPI Installation>/jre/lib/fonts directory.
Make sure to specify the <ReadyAPI Installation>/bin/reports directory in the Custom Reports Library field of the ReadyAPI tab in the Preferences window.
The JUnit-Style HTML report consists of two parts:
JUnit-compatible report - a number of XML files similar to a regular JUnit report.
HTML report - a number of HTML pages to view the report in any web browser.
|The Security TestRunner utility generates only the JUnit-compatible report.