DEV Community

Discussion on: The 4th step in TDD

bitschupser profile image
Alex Rampp

Thx for sharing this methodology.

I also sometimes get overwhelmed. Especially when doing structural refactoring and suddenly many tests fail. Sometimes it's helpful to narrow down the scope ans say "now I just make this 1 out of 20 failing test pass" and then "I make the next 1 out of 19 failing tests pass" and so on. Often after doing this a few times I recognize a pattern which broke these tests and can move on more quickly.