test-coverage

Map test coverage by feature, tag, and browser into a gap report.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Cottage-Energy/cottage-tests --skill test-coverage-cottage-energy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-coverage
Source: https://github.com/Cottage-Energy/cottage-tests/tree/main/.claude/skills/test-coverage
Command: npx skills add https://github.com/Cottage-Energy/cottage-tests --skill test-coverage-cottage-energy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scan and map automated test coverage across features, tags, and browsers to reveal gaps.

Core Features & Use Cases

  • Scan the test suite to enumerate all spec files under tests/e2e_tests/, tests/api_tests/, and tests/performance_tests/
  • Extract tag declarations from specs and categorize by feature areas like cottage-user-move-in, light-user-move-in, payment, connect-account, homepage, exploratory, api, performance
  • Build a coverage matrix and identify gaps by feature area, browser coverage, and priority
  • Generate actionable gap reports to guide test planning and risk assessment

Quick Start

Run the test-coverage workflow to generate a current coverage snapshot for the repository.

Frequently Asked Questions about test-coverage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I map test coverage by feature and browser to find gaps?

Scan your test suite to extract tags from spec files and generate a Markdown or JSON coverage matrix. This categorizes end-to-end, API, and performance tests by feature area and browser to reveal coverage gaps.

What is the best way to identify missing test coverage across different feature areas?

Build a coverage matrix that cross-references spec files with feature areas like payment or homepage. The resulting gap analysis report highlights untested features and priorities to guide test planning and risk assessment.

Does this test coverage analysis apply to API and performance test suites?

Yes, this test coverage analysis scans tests/api_tests and tests/performance_tests directories alongside end-to-end tests. It extracts tags from all these spec files to map coverage and identify gaps across the entire test suite.

How do I extract tags from spec files to categorize automated tests?

Use Grep to scan test directories like tests/e2e_tests and extract tag declarations from spec files. This categorizes tests into feature areas such as connect-account or exploratory, feeding into the final coverage matrix.

Can I use Glob to enumerate spec files for gap analysis?

Yes, Glob is used to enumerate spec files across tests/e2e_tests, tests/api_tests, and tests/performance_tests directories. Locating these test files is the first step before extracting tags to build the coverage matrix.

What format does the coverage matrix use to summarize test gaps?

The coverage matrix uses Markdown or JSON formats to summarize test gaps. This output categorizes coverage by feature area, browser, and priority, providing an actionable snapshot for risk assessment.