generate-missing-tests

Generate unit, edge, error, and boundary tests for uncovered REQ-* requirements.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/foolishimp/ai_sdlc_method --skill generate-missing-tests
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: generate-missing-tests
Source: https://github.com/foolishimp/ai_sdlc_method/tree/main/gemini-code/plugins/testing-skills/skills/generate-missing-tests
Command: npx skills add https://github.com/foolishimp/ai_sdlc_method --skill generate-missing-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Actuator auto-generates missing tests for uncovered requirements to improve coverage and close gaps detected by quality sensors.

Core Features & Use Cases

  • Gap Analysis: Reads coverage gaps and targets missing tests.
  • Test Pattern Library: Produces edge cases, error cases, and boundary tests.
  • Generated Tests: Outputs test files with REQ-* traceability for coverage improvement.

Quick Start

Generate tests for REQ-F-PAYMENT-001 with edge cases and boundary conditions.

Frequently Asked Questions about generate-missing-tests

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

FAQPage Schema
How do I auto-generate missing unit tests to improve code coverage?▼

Auto-generate missing unit tests by running coverage analysis to detect gaps, then use pattern-based test generation to create happy path, edge case, error, and boundary tests for uncovered code paths. The Skill automatically targets REQ-* requirements with insufficient tests and outputs test files validated against your target coverage threshold.

What types of test cases does automated test generation create?▼

Automated test generation produces unit tests across four patterns: happy path tests for normal operation, edge case tests for boundary conditions, error case tests for exception handling, and boundary tests for limit scenarios. All generated tests include REQ-* traceability to connect coverage back to requirements.

Can I use test generation to close coverage gaps detected by quality sensors?▼

Yes. Test generation reads coverage gaps flagged by quality sensors, identifies requirements with insufficient test coverage, and auto-generates missing tests to close those gaps. The process validates coverage improvements against your project's testing framework and target threshold.

How does generated test output integrate with existing test files?▼

Generated tests create or update test files under the tests/ directory, automatically import relevant modules, and integrate with your project's existing testing framework. All new tests maintain consistency with your current test structure and naming conventions.

What's the difference between auto-generated tests and manual test writing?▼

Auto-generated tests use pattern libraries to systematically cover happy path, edge, error, and boundary cases in minutes versus hours of manual work. Generated tests are requirement-traceable, consistent, and immediately validated against coverage targets without manual execution setup.