🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

Tdd

by @drumrobot

Test-Driven Development for coding and bug fixing. cycle - Red→Green→Refactor cycle, defining expected behavior, bug-fix TDD, anti-patterns [cycle.md], run -...

Versionv0.3.0
Downloads1,062
Installs10
TERMINAL
clawhub install tdd

📖 About This Skill


name: tdd depends-on: [skill-toolkit] description: Test-Driven Development for coding and bug fixing. cycle - Red→Green→Refactor cycle, defining expected behavior, bug-fix TDD, anti-patterns [cycle.md], run - test execution workflow (environment detection→impact scope→execution→result reporting) [run.md], test-strategies - boundary value·equivalence partitioning·decision table·error guessing·path coverage test design techniques [test-strategies.md]. "TDD", "test first", "failing test", "doesn't work", "not working", "test design", "boundary value test", "test strategies", "equivalence partitioning", "bug fix", "run tests", "execute tests", "test run", "verify" triggers

TDD (Test-Driven Development)

Test-Driven Development: define expected behavior first, then make it pass with implementation.

Topics

| Topic | Description | Guide | |-------|-------------|-------| | cycle | Red→Green→Refactor cycle, bug-fix TDD, anti-patterns | cycle.md | | run | Test execution workflow (environment detection→impact scope→execution→result reporting) | run.md | | test-strategies | Boundary value·equivalence partitioning·decision table·error guessing·path coverage | test-strategies.md |

Quick Reference

TDD Cycle

Define expected behavior → natural failure → implement → pass → refactor. See cycle.md.

Test Execution

Environment detection → impact scope → execution (unit→integration→e2e) → result reporting. See run.md.

Test Design Techniques

Decide which test cases to write (boundary value, equivalence partitioning, etc.). See test-strategies.md.