Test-Driven Development Skill logo

Test-Driven Development Skill

Visit

Write tests first, watch them fail, then write minimal code to pass - ensuring code quality through TDD methodology.

Share:

Test-Driven Development (TDD)

A Skill that enforces Test-Driven Development methodology: 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.

When to Use

Always:

  • New features
  • Bug fixes
  • Refactoring
  • Behavior changes

Exceptions (ask your human partner):

  • Throwaway prototypes
  • Generated code
  • Configuration files

This Skill helps maintain code quality and ensures comprehensive test coverage.

Comments

No comments yet. Be the first to comment!