Review continuous test results after a build

Last Update: 7/3/2017

Visual Studio 2017 | Visual Studio 2015 | TFS 2017 | TFS 2015

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

In this example, you'll learn how to:

Review your test results

  1. In Visual Studio Team Services or Team Foundation Server, 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

Organize your test results

  • 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 steps

See also

Help and support

Report any problems on Developer Community, make suggestions on UserVoice, get advice on Stack Overflow, and get support via our Support page. We look forward to your feedback.