I use "dotnet test" command in order to run the tests (running them as "Visual Studio Test" step fails for some strange reason). I generate coverage data as below:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Dynamic Code Coverage Tools\CodeCoverage" collect /output:code.coverage dotnet test "test\path_to_unit_tests_project\project.json"
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Dynamic Code Coverage Tools\CodeCoverage" analyze /output:code.coverage.xml code.coverage
I added "Publish Code Coverage Results" step. The build finishes successfully but I see "No build code coverage data available" in code coverage section. At the same time I see *.coverage and *.coverage.xml as additional artifacts.
Is it possible to fill that section with data coming from external code coverage tool (not VS Test step)? If not, is it possible to create a new tab showing a custom code coverage report (as below)?