Skip to content
Back to skills

Test Coverage

ASecurity

Use when reviewing CI coverage, automated checks, or test strategy related to Maintain test coverage thresholds. Focus on whether the rule is continuously verified, not just documented.

  • 74,358 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
developmentgotestingfrontendci/cd

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add thedaviddias/Front-End-Checklist --skill test-coverage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Coverage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Coverage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedaviddias-test-coverage/badge)](https://www.skillsdirectory.com/skills/thedaviddias-test-coverage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-coverage
description: "Use when reviewing CI coverage, automated checks, or test strategy related to Maintain test coverage thresholds. Focus on whether the rule is continuously verified, not just documented."
metadata:
  category: testing
  priority: medium
  difficulty: beginner
  estimatedTime: "15"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/testing/test-coverage
---

# Maintain test coverage thresholds

Coverage thresholds prevent code quality from degrading over time by failing builds when test coverage drops below safe levels.

## Quick Reference

- Set global thresholds: 70% branches, 80% lines/functions/statements
- Apply stricter thresholds (90%+) to critical utility code
- Exclude generated code, type definitions, and config files
- Focus on meaningful coverage—test behavior, not just lines

## Check

Review this project's test coverage configuration to ensure minimum thresholds are set and enforced in CI/CD.

## Fix

Configure coverage thresholds in Jest, Vitest, or your testing framework, and add coverage checks to CI/CD.

## Explain

Explain how to set up test coverage thresholds and what coverage levels are appropriate for different types of code.

## Code Review

Review tests, CI workflows, and enforcement points related to Maintain test coverage thresholds. Flag exact gaps where the rule is not automatically verified or where failures do not block regressions.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/testing/test-coverage

Files in this skill

  • SKILL.md1.6 KB
  • references/rule.md3.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…