What problem does it solve?
This Skill unit provides guidance and a structured approach to Test-Driven Development (TDD), addressing the challenge of writing tests before implementation, which can lead to better code quality and maintainability.
Core Features & Use Cases
- Philosophy of TDD: Offers a detailed explanation of the core principles and the difference between good and bad tests.
- Anti-Patterns: Alerts developers against common mistakes in TDD, such as horizontal slicing.
- Workflow: Outlines the steps involved in the TDD process, including planning, writing tracer bullets, incremental loops, and refactoring.
- Checklist: Provides a checklist for each cycle to ensure that tests are focused on behavior and public interfaces.
Quick Start
Start by reading CONTEXT.md if available, then create a test for a single behavior, write the minimal code to pass it, and refactor when all tests pass.