Clean Ruby pp 101-108 | Cite as

Test-Driven Development (TDD)

  • Carleton DiLeo


Test-driven development is a scary topic for many new developers, but the concepts are simple. Once you get the hang of TDD, the benefits become clear. Your code will be simpler, cleaner, and easier to refactor. With TDD, we only write the code we need to write, and avoid adding unnecessary fluff. It will no longer be a scary prospect to make changes to your code. You have tests to verify that your changes won’t break existing code. If something goes wrong, you’ll know where the break occurred.

Copyright information

© Carleton DiLeo 2019

Authors and Affiliations

  • Carleton DiLeo
    • 1
  1. 1.BoulderUSA

Personalised recommendations