cyberneticlibrary

Write tests before implementing code

test-driven-developmentskillsetup L12
LLl0k0laD/agent-skills
What it does

Write failing tests before implementing behavior

Best for

Proving code correctness through tests, making bugs reproducible and fixes verifiable.

Inputs
  • · [object Object]
Outputs
  • · [object Object]
Requires
  • · testing framework
Preconditions
  • · Understood requirement
  • · Reproducible test case
Failure modes
  • · Tests too broad
  • · Test coverage gaps
  • · Implementation doesn't match test intent
Trust signals
  • · Test-first discipline
  • · Bug reproduction required before fix