test-driven-development
Originally fromobra/superpowers
Installation
SKILL.md
Test-Driven Development (TDD)
Overview
Write the test first. Watch it fail. Write minimal code to pass.
Core principle: If you didn't watch the test fail, you don't know if it tests the right thing.
Violating the letter of the rules is violating the spirit of the rules.
Reference Files
Read only the references needed for the current test cycle:
references/testing-patterns.mdfor naming, AAA structure, near-miss negatives, behavioral focus, and anti-pattern checksreferences/test-data-and-mocks.mdfor factories, mock boundaries, common boundary mocks, and env/time handlingreferences/integration-and-live-proof.mdwhen unit tests are not enough, or the plan requires real APIs, seeded data, browser flows, or stress proof
When to Use
Related skills
More from romiluz13/cc10x
session-memory
Internal skill. Use cc10x-router for all development tasks.
60code-generation
Internal skill. Use cc10x-router for all development tasks.
58code-review-patterns
Internal skill. Use cc10x-router for all development tasks.
45architecture-patterns
Internal skill. Use cc10x-router for all development tasks.
44planning-patterns
Internal skill. Use cc10x-router for all development tasks.
43cc10x-router
|
41