Skip to content

Latest commit

 

History

History
98 lines (82 loc) · 2.01 KB

README.md

File metadata and controls

98 lines (82 loc) · 2.01 KB

Coverage Converter

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.

Type of Coverage Converter

file path .NET Framework description
mstest/Binaries/CoverageConverter.exe 3.5 Can convert the coverage file that was created from mstest.exe.
vstest/Binaries/CoverageConverter.exe 4.5 Can convert the coverage file that was created from vstest.console.exe.

Command line arguments

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

Example

Input file:data.coverage
Output file:data.xml

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

Emma format transform.

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