A simple introduction to Test Driven Development (TDD) using a real code demonstration to show:
- It’s more than a Test First approach: writing a failing test and making it pass.
- The Importance of BABY STEPS (aka The Three Laws of TDD): the principles can be seen as applied.
- Mostly About Design & Letting: Let the tests drive the creation of production code.
Through tackling the ‘Prime Factors Kata using a TDD approach, we see the above-mentioned principles in action and the following:
“As the tests get more specific, the code gets more generic.”Robert C Martin
TDD is one of the Value Added Practices, covered in the Applying Professional Scrum for Software Development course, to help development teams deliver a potentially releasable increment at the end of a Sprint.
If you’d like to know more or how we can help you or your teams incorporate these practices, including running coding dojos and applying katas like Prime Factors, then check out our Technical Agility services.