You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(aidd-craft): drive a behavior test-first, one test at a time #1263
As a developer I wanttdd to show the ordered test list before the first test, then advance one test at a time, asking before going red and before going green So that the design emerges under my control
Acceptance
Input is a behavior with verifiable acceptance criteria, from a story, a plan phase, a spec or a defect; without criteria, tdd hands back.
Criteria must describe business behavior: criteria naming HTTP, SQL, a UI or another technical detail are handed back. Tests target the use case entry point, not the delivery mechanism.
The test list goes from the most specific case to the most general, each test named after its final rule.
One failing test at a time; a compile or import error does not count as red.
Green writes only what the current test requires, clean on the first pass; refactoring is optional and deep only.
A red test leads to a code change, never to editing the test until it passes.
Activity