Red Green Repeat Adventures of a Spec Driven Junkie

Journey to TDD - Excuses Not to Test

If you found this article and want to start at the beginning, this series starts here.

When I inherited a codebase, I worked around the current code by adding my own.

As I kept adding my own features to the inherited codebase, I didn’t any tests. Why, even after all the “training” I got from Code Retreat?

The codebase was too big.

I didn’t understand everything it was doing, no documentation, the code was not written by me, and the only people that understood it were my friends that were just users of the codebase, not developers of the codebase.

Because of this, I just kept moving forward in adding features. I considered adding tests impossible. Not only that, this codebase was my first time handling a Ruby on Rails project.

I start to see, not testing will have a cost.