Set up a test coverage report
Configure coverage reporting with HTML and LCOV output, enforce a minimum threshold in CI, and add a badge to the README.
Preview
Copy prompt
Configure a test coverage report for a [Language/Framework] project using [Jest / Pytest / Go test / equivalent]. The report should output both HTML and LCOV formats suitable for local review and CI upload. Enforce a minimum per-file and aggregate branch coverage threshold of [X%] as a required CI gate that blocks merges when not met. Add a dynamic coverage badge to the project README and show the full config and CI pipeline step.
More
Testing
Prompts
