We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Steps in README.md fail to produce code coverage report file.
To Reproduce Steps (from README.md) to reproduce the behavior:
Add the Coverlet.MSBuild NuGet package to the both projects.
Coverlet.MSBuild
dotnet add package coverlet.msbuild
Install the ReportGenerator tool:
ReportGenerator
dotnet tool install -g dotnet-reportgenerator-globaltool
Run the tests and collect coverage using the dotnet test command with an absolute path.
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput="$(pwd)/coverage/"
Run the ReportGenerator tool:
dotnet reportgenerator "-reports:HelloWorld.Tests/coverage.opencover.xml" "-targetdir:coveragereport" "-reporttypes:Html"
Expected behavior There should be a /coverage/coverage.opencover.xml file with some code coverage generated.
Additional context The coveragereport folder is generated, but since coverage.opencover.xml isn't, neither is the report.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Steps in README.md fail to produce code coverage report file.
To Reproduce
Steps (from README.md) to reproduce the behavior:
Add the
Coverlet.MSBuild
NuGet package to the both projects.Install the
ReportGenerator
tool:Run the tests and collect coverage using the dotnet test command with an absolute path.
Run the
ReportGenerator
tool:Expected behavior
There should be a /coverage/coverage.opencover.xml file with some code coverage generated.
Additional context
The coveragereport folder is generated, but since coverage.opencover.xml isn't, neither is the report.
The text was updated successfully, but these errors were encountered: