Skip to content

roozbehid-ic/CoverageConverter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/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.

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

About

Visual Studio Coverage Converter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%