Discussion about this post

User's avatar
Kevin Rutherford's avatar

If your Product Owner can't read and understand your tests, you're not done refactoring.

Better yet: write your tests with your Product Owner in the ensemble. They don't have to program, but they can do everything else a member of the ensemble would do.

A well-written test -- indeed habitable code in general -- should primarily use language from the domain, and should be structured so that it tells the same story that your Product Owner would tell.

Can your Product Owner read and understand your tests?

When was the last time your team did multi-disciplinary test-driven development?

Expand full comment
Matteo Vaccari's avatar

Hi Kevin, very nice article! I never thought of the 4 rules this way, from the pov of what to do on a codebase that’s not up to spec; but of course that’s the situation we’re in whenever we get to “refactor” in the tdd cycle. I will use this framing in my upcoming training!

Expand full comment
5 more comments...

No posts