3.27.4.3 Test execution with reporting to external repositories

If your Project is joined to an external repository 3.27.4.1, and you have added task IDs to one or more items in your Project 3.27.4.2, then you will be able to report the test results to the repository after the test has run. The test run can be either via the ITE or via the command line testexec.

\includegraphics[height=2cm]{lightbulb} If you run a test via the ITE which should report to ALM systems, the reporting is triggered automatically once the test has run. If the reporting for the test run encounters an error, then you will be able to manually trigger the reporting later 3.27.4.3. To report to ALM systems after running a test via testexec, you must also manually trigger the recording 3.27.4.3.

When reporting is triggered, the following happens:

Reporting to ALM repositories after a test started via testexec For tests started via testexec, the reporting does not happen automatically. Instead, you must choose to report to ALM from the Test Result Summary View .

  1. In a Project that is configured to report to an ALM repository, when a test has run via testexec, you can open the Reporting Perspective and locate the test run in the Test Result Summary View .
  2. In the ALM Report Pending column, you will see whether there are any reports pending. This is based on various factors:
    1. ALM Reporting must have been configured for the Project . If no ALM is configured for the Project , then the status in the ALM Report Pending column will be false.
    2. The test run must have been designated as relevant. Non-relevant tests show the status false in the ALM Report Pending column.
  3. Select any test runs whose results you want to report to ALM, and click on the "Report to ALM" button on the toolbar. You can also select this option from the context-sensitive menu. If you select multiple test runs, the reporting will take place sequentially for each test run.
  4. When you select this option, the reporting will be triggered as described above. If the reporting is successful, the status in the ALM Report Pending column changes from true to false. If an error occurs, then the status remains as true.
    \includegraphics[height=2cm]{lightbulb} If you do not want to report the test results to an ALM tool, you can switch the status of the ALM Report Pending column from true to false by selecting the option to cancel pending reports from the context menu. Toggling the relevance of the test run to false will also set the ALM Report Pending status to false, but this will also mean that the test results are not exported and not considered for BIRT reports 3.22.8.



Copyright BREDEX GmbH 2014. Made available under the Eclipse Public License v1.0.