Skip to content

Instantly share code, notes, and snippets.

@krishnaanaril
Created July 4, 2019 13:58
Show Gist options
  • Save krishnaanaril/7f2892acad04b1770f4b1c2449ce3ba7 to your computer and use it in GitHub Desktop.
Save krishnaanaril/7f2892acad04b1770f4b1c2449ce3ba7 to your computer and use it in GitHub Desktop.
Generate reports from *.coveragexml file
dotnet <UserProfile>\.nuget\packages\reportgenerator\<version>\tools\netcoreapp2.1\ReportGenerator.dll "-reports:<Coveragexml file path>" "-targetdir:<path to coverage report>"
<#
Eg: dotnet C:\Users\krishnamohan\.nuget\packages\reportgenerator\4.1.10\tools\netcoreapp2.1\ReportGenerator.dll "-reports:d:\MyTestOutput.coveragexml" "-targetdir:d:\coveragereport"
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment