pyhf icon indicating copy to clipboard operation
pyhf copied to clipboard

Ensure doctests are not providing sole coverage for any code

Open matthewfeickert opened this issue 4 years ago • 0 comments
trafficstars

Summary

PR #1467 showed that the doctests are currently providing coverage to some areas of the codebase that the tests themselves never reach (e.g., when moving the doctests to their own report, the coverage from running the tests dipped)

coverage

This isn't really good and the only thing that the doctests should be providing is testing of the docstring examples. We should add coverage of the codebase that is now provided by the doctests into the main tests.

Additional Information

No response

Code of Conduct

  • [X] I agree to follow the Code of Conduct

matthewfeickert avatar Oct 19 '21 18:10 matthewfeickert