-
Notifications
You must be signed in to change notification settings - Fork 389
Fix bug in the performance test and document how to run it in README.md. #248
New issue
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
Fix bug in the performance test and document how to run it in README.md. #248
Conversation
Codecov Report
@@ Coverage Diff @@
## master #248 +/- ##
=======================================
Coverage 95.27% 95.27%
=======================================
Files 16 16
Lines 1693 1693
=======================================
Hits 1613 1613
Misses 80 80 Continue to review full report at Codecov.
|
README.md
Outdated
|
||
There is a performance test for the hit counting instrumentation in the test project `coverlet.core.performancetest`. Build the project with the msbuild step above and then run: | ||
|
||
dotnet test -p:CollectCoverage=true test/coverlet.core.performancetest/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use the standard MSBuild /p
@@ -9,7 +9,7 @@ namespace coverlet.core.performancetest | |||
/// Test the performance of coverlet by running a unit test that calls a reasonably big and complex test class. | |||
/// Enable the test, compile, then run the test in the command line: | |||
/// <code> | |||
/// dotnet test -p:CollectCoverage=true -p:CoverletOutputFormat=opencover test/coverlet.core.performancetest/ | |||
/// dotnet test -p:CollectCoverage=true test/coverlet.core.performancetest/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here too
Bug noticed while testing #241.