The Ada component test report

The component testing report summarizes all of the test results. It is hyperlinked to the test script (the .ptu file) and can be browsed using the Report Browser on the left-hand side of the screen..

  1. Close the Project Explorer window on the right-hand side of the screen as well as the Output Window at the bottom of the screen to free up space.

  2. Select the Test Report tab to ensure the component testing report is active, and then maximize this window

At the top of the report is an overall summary of test execution. Notice the Passed and Failed items.

  1. In the Report Window on the left-hand side of the screen, double-click the node Test 1 (a child node of the node SIMPLECONDITION:



Looking at the component testing report, you can see:

As you can see, both Test 1 and Test 2 failed. By looking at the report, you will find out that they both failed because RET_SIMPLECONDITION returned a value of 1 whereas the expected value was -1.

You can click the variable name in the report to navigate to the corresponding line in the test script.

Have a look around if you wish. Your next concern should be to look at the code coverage information.