CoverageConverter

Visual Studio Coverage Converter

MIT License

Stars
8

Coverage Converter

Coverage file(.coverage) that is output after running the MsTest I converted to XML file format. When you convert to the Emma coverage report file format file in Jenkins I find it useful to use.

Operating environment

  • .NET Framework 4.5
  • Coverage file output by vstest.console.exe or VisualStudio 2012 or later
    It will not work with coverage files output from MSTest.exe or VisualStudio 2010 or earlier.

Command line arguments

Example

Input filedata.coverage Output filedata.xml

CoverageConverter.exe /in:data.coverage /out:data.xml

Emma format transform.

Download from the following MSTestCoverageToEmma.xsl. https://github.com/jenkinsci/mstest-plugin/blob/master/src/main/resources/hudson/plugins/mstest/MSTestCoverageToEmma.xsl

CoverageConverter.exe /in:data.coverage /out:data.xml /xsl:MSTestCoverageToEmma.xsl

Use of coverage file outputted from MSTest.exe or VisualStudio 2010 or earlier

Please use the following file. https://github.com/yasu-s/CoverageConverter/releases/download/v1.0/mstest_1.0.zip