TDD as if you Meant It: Think – Red – Green – Refactor (Episode 1)
TDD as if you Meant It: Think – Red – Green – Refactor (Episode 1)
About
TDD as if you meant it is a very strict way of writing code in a Test Driven Development approach. One needs to follow the rules below:
Guidelines
In the first episode the main focus in to respect a few guidelines:
- Guideline 1: Always start with outputs when doing an analysis
- Guideline 2: Behavior Slicing
- Guideline 3: SIMPLIFY!
- Guideline 4: Introduce only one notion (domain concept) at a time, one per test
- Guideline 5: The rule of three “only extract duplication when spotted at least three times”
- Guideline 6: Triangulation
















