testing-coverage

Community

Achieve >=95% test coverage with Vitest.

Authorferryhinardi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides teams to consistently achieve mandatory 95% test coverage across lines, functions, branches, and statements using Vitest in browser mode, reducing regressions and improving code quality.

Core Features & Use Cases

  • Enforces high coverage: ensures all code paths meet the 95% threshold across languages and modules.
  • Vitest in browser mode: supports browser-based testing workflows for UI components.
  • Practical guidance: shows setup, running, and troubleshooting steps for tricky test scenarios in common repo structures (app/, hooks/, lib/).

Quick Start

Use the skill to kick off a coverage-focused test run with a simple command sequence:

  • Run tests with coverage enabled: CI=true pnpm test run --coverage
  • Run local UI/browser tests: CI=true pnpm test:browser
  • Open coverage report in browser (path may vary): open coverage/index.html

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: testing-coverage
Download link: https://github.com/ferryhinardi/supertool/archive/main.zip#testing-coverage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.