Review continuous test results after a build

VS 2017 | VS 2015 | VSTS | TFS 2018 | TFS 2017 | TFS 2015

After your build finishes running continuous tests using Visual Studio Team Services (VSTS) or Team Foundation Server (TFS), review your test results to start analyzing any problems that you found.

Review your test results

  1. In VSTS or TFS, go to your team project.

  2. Find your build and open the build summary.

    Go to Build hub, build definition, build summary

  3. Review the summary for your test run results. Here you'll find changes in new, failed, and passed tests, how long these tests took to run, how long these tests have been failing, and more.

    View test run results summary

  4. If you collected code coverage information, the build Summary page displays an overview of the blocks and lines covered. You can download the code coverage results for a drill-down analysis in Visual Studio.

    View code coverage information

Organize your test results

  1. Choose the Show filter bar icon.

    Show the filters bar

  2. Organize your test results using the group and outcome lists.

    Organize your test results

Debug failed tests

  1. To start debugging a failed test, review the resulting error and stack trace.

    Error and stack trace for a failed test

  2. To trace the results of a test across builds, view the test history.

    Open the test history page

  3. In the history page, review when a test started to pass or fail.

    Viewing the test history across builds

    Group the list of results using the drop-down list. Mouse over a bar in the chart to see a pop-up summary, or select a bar to view the detailed test results for that build.

View tests in the Release hub

  • Test results are also summarized in the release summaries in the Release hub. Choose any of the percentage values to see the full summary in the Test hub.

    Test result summary in Release hub

Next step