Visual Studio 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.
argument | description |
---|---|
/in:[ file path or file pattern ] | specify the file path or file pattern to be input. example:/in:data.coverage or /in:TestResult*.coverage |
/out:[ file path ] | specify the file path of the output target. example:/out:data.xml |
/symbols:[ directory ] | specifies the directory where the debug symbols are located. example:/symbols:TestResult\Out |
/exedir:[ directory ] | specifies the directory where the executable file to be retrieved coverage is located. example:/exedir:TestResult\Out |
/xsl:[ file path ] | If you want to convert the output XML, I want to specify the file format of XSL. example:/xsl:MSTestCoverageToEmma.xsl |
Input file:data.coverage
Output file:data.xml
CoverageConverter.exe /in:data.coverage /out:data.xml
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
Please use the following file.
https://github.com/yasu-s/CoverageConverter/releases/download/v1.0/mstest_1.0.zip