When using TeamCity to manage .net projects, we like to use dotCover to evaluate code coverage. In the past, using NCover , there was a way to get the percentage of code coverage using an environment variable.
We liked it, and we set up a project description for using this variable so that you can easily see the code coverage in the toolbar (overview). I believe that NCover had a specific output variable available to TeamCity. I don’t remember exactly what it was, but I think it was something like:
%env.ncover.coverage%
Does anyone know how to do this using dotCover with TeamCity? I understand that it can be 3 meanings; 1 for classes, 1 for a method, and 1 for expressions.
source
share