共用方式為


Test Plan Progress report

TFS 2017 | TFS 2015 | TFS 2013

After the team creates test plans and starts to run tests by using the test management tools provided with Azure DevOps Server which include Test Runner and Azure Test Plans. With the Test Plan Progress report, you can track the team's progress in testing the product.

For information about how to define test suites and test plans, see Plan your tests.

For information about how to access, refresh, or manage reports, see Reporting Services Reports.

You can use this report to answer the following questions:

  • How much testing has the team completed?
  • Is the team likely to finish the testing on time?
  • How many tests are left to run?
  • How many tests are passing?
  • How many tests are failing?
  • How many tests are blocked?

Prerequisites

  • To view the report, you must be assigned or belong to a group that has been assigned the Browser role in Reporting Services. For more information, see Add users to team projects.

  • The team project collection that contains your team project was provisioned with SQL Server Reporting Services. This report isn't available if Report Reports doesn't appear when you open Team Explorer and expand your team project node. If you need to add reports, see Add reports to a team project.

Data in the report

The data that appears in the Test Plan Progress report is derived from the data warehouse and the test results that are generated when tests are run by using Azure Test Plans. The report presents an area graph that shows the most recent result of running any test in the specified test plans over time. For more information, see Run your tests.

The following illustration shows an example of a Test Plan Progress report:

Example Test Plan Progress report

The horizontal axis shows days in a sprint or iteration, and the vertical axis shows test points. A test point is a pairing of a test case with a test configuration in a specific test suite. For more information about test points, see Reporting on testing progress for test plans. The following table describes the meaning of each test result:

Test result Description
Passed Number of test cases that passed.
Failed Number of test cases that failed.
Inconclusive Number of test cases that ran and were assigned a status of Inconclusive.
Blocked Number of test cases that are currently blocked from running.
Never Run Number of test cases that have never been run.
Other Number of test cases that were run and assigned one of the following states: Aborted, Not Executed, PassedButRunAborted, NotRunnable, Disconnected, Timeout, Pending, In Progress, or Inconclusive.

You can filter the Test Plan Progress report in the following ways:

  • Change the start and end dates for the report.

  • Filter the test plans that are counted in the report by specifying iteration paths, area paths, and the names or states of the test plans.

    For more information, see Filtering the Report later in this article.

Required activities for managing test cases and test plans

For the Test Plan Progress report to be useful and correct, the team must carry out the following activities to manage test plans:

  • Define test cases, and specify the Iteration and Area paths for each test case.

  • Define test plans, and specify their current state.

  • For manual tests, mark the results of each validation step in the test case as passed or failed.

    Important

    Testers must mark a test step with a status if it is a validation test step. The overall result for a test reflects the status of all the test steps that were marked. Therefore, the test will have a status of failed if any test step is marked as failed or not marked.

    For automated tests, each test is automatically marked as passed or failed.

  • To support filtering, assign Iteration and Area paths to test cases.

Interpret the report

You can track how many test plans have been run and how many are failing. The Test Plan Progress report displays the cumulative value of all test plans, grouped by result status.

Questions answered by the report

You can review the report to determine the progress within a sprint or iteration or over time. For example, you can answer these questions:

  • How much testing has the team completed?
  • Is the team likely to finish the testing on time?
  • How many tests are left to run?
  • How many tests are passing?
  • How many tests are failing?
  • How many tests are blocked?

Healthy version of the report

A healthy Test Plan Progress report shows a steady progress in test plans running and passing as the following illustration shows. Ideally, the report shows a relatively flat number of test cases for a given plan. As the development cycle progresses, the number of passing test cases should increase, and the numbers of test cases in other states should go down.

Healthy version of Test Plan Progress

Unhealthy version of the report

An unhealthy Test Plan Progress report shows one or more of the following indicators:

  • A high number of test cases are failing.
    When the chart shows more red than green, more test cases are failing then passing. Depending on where you are in the product cycle, you might investigate why so many test cases are failing.

  • The number of test cases that are passing remains flat.
    As the following illustration shows, the number of test cases that are passing, failing, or never run is flat. You might want to investigate the specific causes that affect each area.

    Unhealthy version of the Test Plan Progress

Filter the report

You can filter the Test Plan Progress report to show only those test cases that are defined for the iteration, product areas, test plans, or test plan states that you specify. The following illustration shows the available filters:

Filters for Test Plan Progress report

To change the time interval of the report

  1. Next to Iteration Start (Date) or Iteration End (Date), select the calendar icon, and then select the appropriate date.

  2. Select View Report.

To filter the test plans or test cases that are counted in the report

  1. Carry out one or both of the following actions:

    • In the Iteration or Area lists, select the check box of each iteration path and product area to include.

    • In the Test Plan and Test Plan State lists, select the check box of each test plan and test plan state to include.

  2. Select View Report.