Skip to content
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

Exclude specific contracts / source files from coverage analysis #195

Closed
iamdefinitelyahuman opened this issue Sep 12, 2019 · 1 comment · Fixed by #626
Closed

Exclude specific contracts / source files from coverage analysis #195

iamdefinitelyahuman opened this issue Sep 12, 2019 · 1 comment · Fixed by #626
Labels
coverage Related to test coverage evaluation Good First Issue Good issue for new contributors

Comments

@iamdefinitelyahuman
Copy link
Member

It should be possible to exclude methods within a certain contract, or every contract within a specific file, from coverage analysis. For example, I don't always care that only 50% of the branches within SafeMath.add were touched by my unit tests.

Implementing this will mostly involve modifications brownie/test/output.py

@iamdefinitelyahuman iamdefinitelyahuman added coverage Related to test coverage evaluation Good First Issue Good issue for new contributors labels Sep 12, 2019
@iamdefinitelyahuman
Copy link
Member Author

This will become important once #368 is implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coverage Related to test coverage evaluation Good First Issue Good issue for new contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant