TestLink - Reports & Metrics


Advertisements


Reports and Metrics group the results of execution at one place that helps to track the progress of the project.

To access the Report and Metrics section, select Test Execution → Test Reports and Metrics from the dashboard as shown below.

Report and Metrics

The left pane is used to navigate to each report and operate controls of reports behavior and display. The button “Print” initializes the printing of the right pane (no navigation will be printed).

You can print as HTML or Pseudo MS Word. You can also email the report in HTML format. The right pane displays a summary of each report.

Report and Metrics2

General Test Plan Metrics

These metrics display the current status of a Test Plan by the following criteria - test suite, owner, milestone, priority and keyword.

In addition to this, it also displays the basic metrics for all enabled builds. The current status is determined by the recent Build where Test Cases are executed.

For instance, if a Test Case is executed in multiple builds, only the latest result is counted. Last Test Result is a concept used in many reports, and is determined as follows −

  • The order of Builds is created into a Test Plan. For example, if a test fails in Build 1, and is marked as pass in Build 2, the latest result will pass.

  • If a Test Case is executed multiple times on the same Build, the most recent execution will be considered. For example, if Build 3 is released and marked as “pass” at 1PM and marked as “fail” at 5PM – will be considered as fail.

  • Test Cases listed as “No Run” in a Build is not considered. For example, if a test case is marked as “pass” in Build 1 and don't execute in Build 2, the last result will be considered as “pass”.

When you click General Test Plan Metrics on the left side of the screen, it displays all the results as shown below.

General Test Plan Metrics

Results by Top Level Test Suites − It lists the results of each top level suite. It displays the number of test cases with status as Passed, Failed, Blocked, Not run, and Completed (%). Results for top level suites include all children suites.

Results by Build − It lists the execution results for every Build. For each Build, it displays the total Test Cases, total pass, % passed, total failed, % failed, blocked, % blocked, not run, and % not run. If a Test Case has been executed twice on the same Build, the most recent execution will be taken into account.

Results by Keyword − It lists all the keywords assigned to cases in the current Test Plan, and the results associated with them. For each keyword, it displays the total Test Cases, total pass, % passed, total failed, % failed, blocked, % blocked, not run and % not run.



Advertisements
E-Books Store