-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Infrastructure, Internal, Tests
-
None
Context
Once PYTHON-3898 is completed and coverage tests are added to all variants, we expect some files to have low coverage. We need to identify what these modules. So we should look through each module's coverage and determine if uncovered sections are unused or simply untested.
- For example it looks like the MongoClient._is_writeable method can be removed.
Acceptance Criteria
Once a coverage report is done, new tickets created for files with low coverage (<%70 criteria flexible but agreed upon by the team) to be deleted or have new tests added.
Pitfalls
100% code coverage is desired but may not always be achievable and could severely bloat the number of tests. Discussing a coverage threshold is a good way to avoid scope creep.
- is blocked by
-
PYTHON-3898 Add coverage to all variants
-
- In Code Review
-