Skip to content

Omit libraries and tests from tools coverage numbers #5193

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 1 commit into from
Sep 28, 2017

Conversation

theotherjimmy
Copy link
Contributor

I noticed recently, that our coverage numbers changed when we updated a
package we depend on. This is nonsense. Our coverage numbers should
reflect only our code.

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 26, 2017

Who else should review this change? How to compare between previous vs this patch?

@theotherjimmy
Copy link
Contributor Author

@0xc0170 Uh, you should be able to run the coverage yourself with coverage run -m pytest tools/test && coverage report from the root of this repo. If you do that on master, you will see coverage numbers for the tests themselves, which are generally 100%. If you run the coverage report from this PR, then you will not see the coverage numebers for the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants