Skip to main content

TDD as a concept is simple, but TDD is difficult

Test-driven development as a concept is easy.

Before you write any code, you write a failing test and then write enough code to get it to pass.

But implementing test-driven development is harder.

As well as overcoming the initial reluctance to write the tests first, it takes time to learn how to use it well.

Code katas are great for practising TDD, but it can take time to progress from that to using it in a full application with more pieces.

As with many things, practice and perseverance are key.

Was this interesting?

Subscribe to my daily newsletter for software professionals on software development and delivery, Drupal, DevOps, community, and open-source.

About me

Picture of Oliver

I'm a certified Drupal Triple Expert and former Drupal Association staff member with 18 years of experience, a Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.