tdd-guide

Generate unit tests and analyze coverage across Jest, Pytest, JUnit, Vitest, and Mocha.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/4lerman/text_evaluator --skill tdd-guide-4lerman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-guide
Source: https://github.com/4lerman/text_evaluator/tree/main/.agents/skills/engineering-skills/tdd-guide
Command: npx skills add https://github.com/4lerman/text_evaluator --skill tdd-guide-4lerman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, coverage, test_generator.py, coverage_analyzer.py, tdd_workflow.py, fixture_generator.py, format_detector.py, output_formatter.py, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

The TDD Guide Skill helps engineering teams implement Test-Driven Development (TDD) more efficiently by automating test generation, coverage analysis, and providing TDD workflow guidance.

Core Features & Use Cases

  • Test Generation: Convert requirements into executable test cases across multiple programming languages and testing frameworks.
  • Coverage Analysis: Identify coverage gaps and prioritize improvements to meet specified coverage thresholds.
  • TDD Workflow Guidance: Step-by-step guidance through the TDD cycle, from RED (write failing test) to REFACTOR (improve code while keeping tests green).
  • Framework Integration: Supports Jest, Pytest, JUnit, Vitest, and Mocha.

Quick Start

@tdd-guide

Generate tests for a user registration feature:

@tdd-guide
I need to implement a user registration feature. Generate test cases for:
- Email validation
- Password strength checking
- Duplicate email detection

Language: TypeScript
Framework: Jest

Frequently Asked Questions about tdd-guide

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

FAQPage Schema
How do I generate unit tests from requirements for Jest or Pytest?

Test generation automates converting requirements into executable test cases for frameworks like Jest or Pytest. You provide feature requirements, specify the language and framework, and it outputs corresponding unit tests.

How do I identify code coverage gaps to meet specific thresholds?

Coverage analysis identifies coverage gaps and prioritizes improvements to meet specified thresholds. It analyzes your codebase to highlight untested paths and generates reports guiding you toward required coverage goals.

Does test driven development workflow guidance support the RED to REFACTOR cycle?

TDD workflow guidance provides step-by-step support through the RED to REFACTOR cycle. It walks you through writing failing tests, implementing code to pass tests, and improving code while keeping tests green.

Can I use this TDD workflow tool with JUnit, Vitest, and Mocha?

Framework integration supports JUnit, Vitest, and Mocha alongside Jest and Pytest. This allows you to apply automated test generation and coverage analysis consistently across different programming languages and testing environments.

Do I need Python installed to run test generation and coverage analysis?

Python is required for execution, along with specific libraries for test generation and coverage analysis. The automation scripts rely on Python to process requirements, generate tests, and analyze coverage formats.

What is the best way to automate TDD across multiple programming languages?

Automating TDD across multiple languages involves combining test generation, coverage analysis, and workflow guidance. This Skill orchestrates the RED to REFACTOR cycle and supports various testing frameworks to streamline the process.