-
Type: Epic
-
Resolution: Won't Do
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: mongodump, mongorestore
-
Tools and Replicator
-
Not Needed
-
To Do
-
Tools Coverage Reports
-
0
-
0
-
0
-
0
-
100
We currently generate a code coverage report for mongosync via the coverage-report-generation task in evergreen. This task generates a coverage report for some resmoke and golang tests.
In this project, we should do the same for mongodump and mongorestore. We should also develop an easy way to view these coverage reports, and a way to see the changes in coverage associated with each PR. Ideally, we should also expand the coverage report to cover all tests if necessary, and provide a recommendation or guardrail for maintaining or increasing coverage with any given change.
This will involve generating and consolidating coverage reports for tools integration tests, and sending consolidated coverage reports to coveralls. Depending on the progress of the passthrough testing epic, we may need to add coverage reporting there too. Coverage tasks should also be enabled for PR builds. We should also integrate coveralls with github if needed so that we can see coverage reports for PRs.
Check REP-3667 for info on how to generate and consolidate coverage reports.
- related to
-
TOOLS-3454 Mongodump/mongorestore passthrough tests
- In Progress