How TDD Changed My Career

While the title of this post may seem provocative or an exaggeration, when I first read Kent Beck’s Test Driven Development: By Example, it had a profound effect on me.

It wasn’t about the technical benefits of regression testing or supporting refactoring (which are both very important and good benefits), but it was the simple reminder that it is okay to slow down. If you are running fast and start to fall, should you try to run faster? That would be silly; you would slow down and regain your balance.

When things are stressed and you are flailing, it is easy to forget to take a moment and collect your thoughts. Be it a meeting that is “going in circles”, a panicked discussion about a competitive threat, a slipping deadline or just being overwhelmed by a complex situation, I’ve aways been helped by taking a moment and asking two questions:

  • What do we expect or are trying to accomplish?
  • How might we do that?

It is these two different “modes of thought” that are the essence of Test Driven Development (TDD). The resulting clarity and focus comes from the intentionality and corresponding awareness of your effort.

A common challenge, both in applying TDD to software development or applying the philosophy to things like strategy and startups, is that you don’t necessarily have clear expectations; there can be a lot of uncertainty. This is okay; you might be in an exploratory context. But rather than simply drift with the currents, I suggest drafting a hypothesis. Experiments are the norm in lean startups.

As a developer, there is more I could write about the merits of TDD, but in all honesty it isn’t the only method (nor a guarantee) of success in software. But its fundamentals have been invaluable to me, well beyond any technical context.

Originally published at

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store