tdd-guide

Generate tests, fixtures, and mocks for Jest, Pytest, JUnit, Vitest, and Mocha.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/devCharuzu/philfida-taskmanage --skill tdd-guide-devcharuzu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-guide
Source: https://github.com/devCharuzu/philfida-taskmanage/tree/main/.windsurf/skills/tdd-guide
Command: npx skills add https://github.com/devCharuzu/philfida-taskmanage --skill tdd-guide-devcharuzu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Test-driven development workflow automation: helps developers quickly generate tests, fixtures, and mocks while guiding red-green-refactor cycles.

Core Features & Use Cases

  • Generate tests from code and requirements for Jest, Pytest, JUnit, Vitest, and Mocha.
  • Analyze coverage gaps and propose targeted missing tests across languages and frameworks.
  • Provide mutation testing guidance, property-based testing patterns, and spec-driven workflows to improve quality.

Quick Start

Provide a failing test for a feature, then implement minimal code to pass the test, and repeat with refactoring while keeping tests green.

Frequently Asked Questions about tdd-guide

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

FAQPage Schema
How do I generate tests and mocks for a Jest or Pytest workflow?

Test generation for Jest, Pytest, JUnit, Vitest, and Mocha is automated by creating tests, fixtures, and mocks directly from your code and requirements to streamline your testing workflow.

What is the red-green-refactor cycle and how do I start test-driven development?

Test-driven development begins by writing a failing test for a feature, implementing the minimal code required to pass that test, and then refactoring while keeping all tests green throughout the cycle.

How do I find missing test cases when analyzing my code coverage?

Coverage analysis identifies gaps in your test suite and proposes targeted missing tests across languages and frameworks, ensuring your unit and integration testing workflows achieve comprehensive spec coverage.

Does this TDD workflow support mutation testing and property-based testing?

Mutation testing guidance and property-based testing patterns are supported features, providing spec-driven workflows that improve test quality and validate edge cases across multiple testing frameworks.

Can I use this for both unit and integration testing across different frameworks?

Unit and integration testing workflows are fully supported across Jest, Pytest, JUnit, Vitest, and Mocha, allowing you to generate tests and analyze coverage consistently regardless of your chosen framework.