Getting Test Results in Visual Studio Team Services (VSTS)

Important note: These directions are for testing desktop unit test assemblies only. In particular, these directions will not work for .NET Core.

Referencing the Visual Studio test runner

Configure VSTS

Locate test assemblies

Enable Code Coverage (optional)

Viewing the results

After a successful build, the test results are available on the main view of the build. It should look something like this:

Comments

Copyright © 2017 .NET Foundation. Contributions welcomed at https://github.com/xunit/xunit.github.io.