Skip to content

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

Merged
merged 2 commits into from
Nov 23, 2018

Conversation

petli
Copy link
Collaborator

@petli petli commented Nov 23, 2018

Bug noticed while testing #241.

@codecov
Copy link

codecov bot commented Nov 23, 2018

Codecov Report

Merging #248 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

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

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f67618a...4255369. Read the comment docs.

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/
Copy link
Collaborator

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/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here too

@tonerdo tonerdo merged commit 3454f21 into coverlet-coverage:master Nov 23, 2018
@petli petli deleted the bug-in-performance-test branch January 17, 2019 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants