Test results

After test execution status of each test is marked with green or red overlay icons. Status icons are set also on each section of test case, which has results set. Note that not all sections define constraints on test results. Only the following pages define such constraints:

Test results in the Status view

After the test execution the summary of test results is shown in the Status view. The first line shows some statistic, while other lines contain errors, if they occurred.

Example of the Status View without errors:

Example of the Status View with errors:

Tip: To see the test case, which has failed, double click the error line in the Status view. The corresponding test case will be selected in the Test tree.

Test reports

To save test results for documentation purposes, red marks in GUI are not very convenient. For this reason we can save test results to file in several different formats. testIDEA can save test results in XML, YAML, CSV, XLS, or XLSX file formats.

XML format is convenient for usage in other tools, including viewing in web browsers, because it is widely supported.

YAML format is not so well known, but it is much more readable and as such convenient for quick overview in text editor.

CSV (Comma Separated Values) format is also understood by many other tools, for example it can be imported to requirements management tools, such as DOORS.

XLS and XLSX are Excel (old and new) formats. We can show XML file in web browser with the help of XML Stylesheet Template. This section describes generating of reports, while XSLTs are described in section testIDEA Test Report Stylesheets

Test report can be saved with the main menu option Test | Save Test Report .... We get the following dialog:

As usual, description of input fields is given in their tool-tips.

Note 1: Internet Explorer does not support document created with option Embed XSLT/CSS into XML report checked. See IE 10, XML and embed XSLT for more details.

Note 2: There is host variable ${_svnRevision}, which is deprecated and always set to '/' since revision 9.21.207. Use script extension to set revision number of your tests if needed. See section Before saving test report.

An example of the generated test report is shown below. First we can see a table with test configuration parameters, and a table with test statistic. Tables with results of each executed test case are following.

Because one test can fail with more than one error, the sum of number of errors per category can be greater than the number of failed tests in the statistic table.

Coverage results

Coverage report contains the following results: Example: