tdd-red-bar-patterns

Installation
SKILL.md

Red Bar Patterns

These patterns decide when you write a test, where you write it, and when you stop. Pick tests that teach you something and that you can make pass; start from a trivial case; turn questions, libraries and bugs into tests; and when the work goes sideways, step away or start over.

One Step Test

Question: Which test should you pick next from the list? Answer: One that will teach you something and that you are confident you can implement.

  • Each test should be one step toward the overall goal. Step size is personal: what is one step for a newcomer is a tenth of a step for an expert.
  • Scan the list: skip the obvious and the baffling; take the one that is not obvious but doable.
  • If no item is one step, add intermediate tests to the list that would make progress toward them.
  • Growth is neither top-down nor bottom-up: it goes from known to unknown.

Starter Test

Question: Which test should you start with? Answer: A variant of the operation that does nothing.

Installs
1
First Seen
2 days ago