-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Use Case
As a Node driver developer
I want to have a coverage report available on PRs
So that I can make sure we are testing all important functionality
User Impact
N/A
Dependencies
N/A
Unknowns
- Can the coverage report be displayed in evergreen in a pretty format?
- Is there a convenient way to wire up the result to the PR in github? (e.g., to display the stats or relevant files)
Acceptance Criteria
- Update evergreen script settings to run code coverage on each test suite
- Ensure artifacts are uploaded to S3
- Create a new task to pull together the combined coverage report that runs after all other tasks have completed
- Ensure result is displayed in an accessible way in evergreen and, optionally, in github itself
Implementation Requirements
- Can use python coverage example: https://github.com/mongodb/mongo-python-driver/blob/master/.evergreen/config.yml#L104-L159
- Note: nyc can generate a combined report as long as the individual json files are in the same directory, so we don't even have to run a merge command
Testing Requirements
N/A
Documentation Requirements
N/A
Follow Up Requirements
- Analysis of produced report will be done in a separate ticket