Configure SonarCloud to account for frontend unit test coverage
Open
4Refinement
- Dominant language
- Python
- Stars
- 65
- Forks
- 11
- Avg merge
- 21h 25m
- Merged PRs (30d)
- 70
Description
Currently we just use cypress coverage reports for sonarcloud coverage metrics, we should stitch together those reports and jest unit test reports.
Potentially as easy as adding the unit test coverage report path to: `sonar.javascript.lcov.reportPaths=web/coverage/lcov.info`
Contributor guide
Research direction
Start with the SonarCloud setting `sonar.javascript.lcov.reportPaths=web/coverage/lcov.info` and inspect how the existing Cypress and Jest coverage reports are generated. Configure the reports so SonarCloud accounts for both sources, then verify that the resulting frontend coverage metrics include unit-test coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100