Created
June 26, 2012 08:03
-
-
Save marcel-valdez/2994278 to your computer and use it in GitHub Desktop.
Coverage target for msbuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="Coverage" > | |
<Exec Command=".\tools\OpenCover\OpenCover.Console.exe -register:user -target:.\tools\nunit\bin\nunit-console.exe "-targetdir:MyTestProjectDir\bin\$(Configuration)" "-targetargs:MyTestAssembly.Test.dll" -output:OpenCoverReport.xml "-filter:+[MyProjectNamespace*]* -[MyProjectNamespace.Test*]*"" /> | |
<Exec Command=".\tools\reportgenerator\ReportGenerator.exe -reports:OpenCoverReport.xml -targetdir:.\coverage-report -reporttypes:XML;HTML" /> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment