TDD == PDCA



It's no doubt completely obvious to everyone else but yesterday I was struck by the parallel between Deming's Plan-Do-Check-Act and test-driven-development, in particular test-first-development:

  • Plan - write a failing test (red-grape)
  • Do - write code to make it pass
  • Check - run the test to see if it passes (green-grape?)
  • Act - what was the outcome? what will you do now?
The photo of PDCA is from page 143 of Toyota Kata by Mike Rother.

1 comment:

  1. It's a common pattern.
    Tony Buzan has TEFCAS as his formula for (personal) success:

    Try
    Event
    Feedback
    Check
    Adjust (repeat cycle)
    ...
    Success

    ReplyDelete