Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is code coverage included with Visual Studio Team Services (Visual Studio Online) packages

Is code coverage supported with Visual Studio Team Services by default, and can the team check the coverage result on their local visual studio instances? (coloring the coverage).

like image 477
Sawan Avatar asked Jul 14 '16 09:07

Sawan


Video Answer


1 Answers

Yes, when you add "Visual Studio Test" step in your build definition, you can check the "Code Coverage Enabled" option: enter image description here

And then you can see the code coverage information in the build report: enter image description here

You can also download the code coverage results file into your local machine but you need to use VS Enterprise edition to open it.

like image 137
Eddie Chen - MSFT Avatar answered Oct 31 '22 23:10

Eddie Chen - MSFT