Coverage file 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.
file path | .NET Framework | description |
---|---|---|
mstest/Sources/ | 3.5 | Can convert the coverage file that was created from mstest.exe. |
vstest/Sources/ | 4.5 | Can convert the coverage file that was created from vstest.console.exe. |
argument | description |
---|---|
/in:[ file path ] |
specify a file path in which you want to enter. example:/in:data.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.
http://wiki.hudson-ci.org/pages/viewpageattachments.action?pageId=41878013&metadataLink=true
CoverageConverter.exe /in:data.coverage /out:data.xml /xsl:MSTestCoverageToEmma.xsl