test

Analyze code coverage gaps and generate targeted tests automatically.

Updated Jul 5, 2025
One-click install
npx skills add https://github.com/sqfzy/my_configs --skill test-sqfzy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/sqfzy/my_configs/tree/main/claude/skills/test
Command: npx skills add https://github.com/sqfzy/my_configs --skill test-sqfzy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams identify where tests are missing and automatically generates targeted tests to improve coverage, reduce risk, and streamline the testing workflow.

Core Features & Use Cases

  • Analyze code to locate coverage gaps across modules and functions.
  • Generate boundary, error-path, fuzz, and property-based tests that align with your project's style.
  • Auto-save the resulting test reports to .artifacts/ and trigger when requested by users to supplement existing tests or fix coverage gaps.

Quick Start

Run the test-coverage analysis to identify gaps and auto-generate missing tests for your codebase.

Frequently Asked Questions about test

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

FAQPage Schema
How do I auto-generate tests to fill code coverage gaps?

You can auto-generate tests to fill coverage gaps by running a test-coverage analysis that identifies missing tests across modules and automatically generates targeted boundary and error-path tests.

What is property-based testing and how does it find boundary cases?

Property-based testing automatically generates boundary cases by evaluating code properties against random inputs. This Skill locates coverage gaps and generates property-based tests to expose edge cases.

How do I generate fuzz tests for error paths in my codebase?

You can generate fuzz tests for error paths by triggering a coverage gap analysis. This Skill automatically creates fuzz tests that align with your project's style and saves reports to the .artifacts/ directory.

Does this test generation tool work across different languages and runtimes?

Yes, coverage gap analysis and test auto-generation are applicable to codebases across various languages and runtimes. It generates unit modules, edge cases, and fuzz tests without requiring specific dependencies.

What is the best way to find missing unit tests for active development?

The best way to find missing unit tests is to use an automated gap analysis tool. This Skill identifies untested functions in active codebases and auto-generates targeted tests to supplement existing coverage.

When should I not use automated test generation for coverage gaps?

You should avoid automated test generation when your codebase lacks active development or established project styles. This Skill targets active codebases requiring gap analysis, property-based testing, and fuzz testing.