-
-
Notifications
You must be signed in to change notification settings - Fork 355
Closed
Description
At some point between July 14th and July 21st code coverage dropped from 95% to 60%. We didn't suddenly remove a load of tests or add a load of untested code, so this must be an issue withhow code coverage is being collected, perhaps due to a new version of a test dependency? This should be fixed.
@d-v-b had some potential insight in #3318 (comment):
The way our code coverage works, class and function definitions are not counted as tested if they are imported by pytest prior to running actual tests. Pytest imports from a lot of our library due to fixtures defined in conftest.py, which is why our coverage reports in CI report function definitions as uncovered.
Metadata
Metadata
Assignees
Labels
No labels