• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Curious, Healing

Curious, Healing

Books about healing, business, and fun

  • About Sonia Connolly

“Test-Driven Development By Example” by Kent Beck

October 6, 2012 by Sonia Connolly 1 Comment

Recommended to me by: Sam Livingston-Gray

Test-Driven Development (TDD) is a tool to manage the complexity and difficulty of writing software. It offers an alternative to the “waterfall” approach: design specification, functional specification, implementation, testing, release. In theory each step is finished before going on to the next. The problem is that there is a whole lot of debugging during and after implementation, testing, and release.

In TDD, the programmer writes a test for one small aspect of a program, then implements the minimum code required to satisfy that test. Once the new test passes, the code is refactored to remove duplication while still passing all tests. Repeat as needed. In this way, designs evolve to satisfy existing conditions rather than guessing about what’s needed months or years in advance. In addition, the code is always in a working state.

This is the most conversational software book I’ve read. It’s like having the author next to you at a computer, explaining the steps as you type. After years of battling waterfall development cycles, I’m convinced TDD is a useful approach, and I’m eager to try it.

Available at bookshop.org.

Filed Under: nonfiction Tagged With: software

Reader Interactions

Trackbacks

  1. “Growing Object-Oriented Software, Guided by Tests” by Steve Freeman and Nat Pryce | Curious, Healing says:
    November 8, 2012 at 7:45 pm

    […] book is written in a more formal, technical style than Test-Driven Design by Example. I’m glad I read the latter book […]

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Books

  • “Very Far Away From Anywhere Else” by Ursula K Le Guin
  • “Seaward” by Susan Cooper
  • “Surviving Domestic Violence” by Elaine Weiss
  • “The Book of Love” by Kelly Link
  • “Alexandra’s Riddle” by Elisa Keyston
  • “Weaving Hope” by Celia Lake
  • “The Fortunate Fall” by Cameron Reed
  • “Remarkably Bright Creatures” by Shelby Van Pelt
  • “Childhood’s End” by Arthur C. Clarke
  • “If the Buddha Married” by Charlotte Kasl, Ph.D.

Tags

activism aging anti-racism bodywork business childhood abuse childrens CivicTech communication disability domestic violence fantasy feminism finance Focusing food fun healing health at any size illustrated Judaism leadership lgbt marketing memoir music natural world neurodiversity politics psychology relationship romance science science fiction software spirituality survival story trauma writing young adult

Categories

Archives

Please note: bookshop.org and Amazon links are affiliate links. Copyright © 2025 · Genesis Sample on · WordPress