How to configure Hudson to display code coverage results for MsTest without NCover?
-
10-10-2019 - |
Pergunta
My Hudson already builds and run the MsTest tests in my solution. I already do see Code Coverage metrics in Visual Studio and I'm generating the coverage file in the build. I don't have NCover. How to make Hudson to show the coverage metrics?
Solução
You can look at the list of available Hudson plugins here. Unfortunately, there doesn't seem to be anything to meet your needs unless you use NCover. Is there a reason you can't use it or don't want to?
Outras dicas
You can do this by first creating an xml file out of the binary (.coverage) file visual studio creates. Follwoing two links show how to achieve this task. They work like a charm.
http://codetuner.blogspot.com/2011/09/convert-mstest-code-covarage-results-in.html
Merging Visual Studio Code Coverage fails with ImageNotFoundException