-
Notifications
You must be signed in to change notification settings - Fork 8
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
Implement Pytest-cov, and make coverage more meaningful #533
Comments
For restricting the coverage results I think we can:
|
I think the best way to do this is to map a unit test file to a source path: {"test_cell_problem.py" : `montepy/cell.py` ...
} Then we run
This way code that is ran to setup fixtures will most likely not be erroneously counted. While at it, branch coverage should be enabled. Overall this won't be easy to implement effectively and will require a moderate amount of effort to:
|
In testing with #536, this dropped coverage to 89% |
This is related to #532. This should:
pytest-cov
for better feature support.The text was updated successfully, but these errors were encountered: