Session

Test Driven Development for Everyone

“There is never enough time to do it right, but there is always enough time to do it over.”

~John W. Bergman

Test Driven Development (TDD) is a powerful approach that yields better, less buggy code. So why aren't everyone doing it?

In this hands-on workshop, I'll explain what TDD is and why I think it's so good. We'll also try it out for ourselves, using some real-life examples. You'll get to see how TDD makes writing great code simpler and gives you a safety net for when you have to make big changes to your code.

Bring your laptop and a programming language you're comfortable testing in. If you're new to testing, we've got you covered with starter projects available in multiple languages like C, C++, C#, Java, JavaScript, Kotlin, Python, Rust, and TypeScript.

We'll explore how to plan tests, the role of refactoring in TDD, and the benefits of designing code a bit at a time. Plus, you'll learn how TDD can make your code easier to read and keep up to date, and how it can help make your software more reliable.

Collaborative learning will be a key element of our session - coding in pairs is not just welcomed, it's actively encouraged! Let's embark on this exciting journey of creating better, cleaner, and more reliable code through Test Driven Development together.

This workshop was first given at JFokus but has been given at private companies after that. I can be adjusted in length with a minimum of about 2 hours and a maximum of around 6 hours.

For smaller groups I like to do an ensemble-session before everyone starts on their individual/paired assignments. This requires a longer workshop and a group of maximum 15 attendants.

Daniel Raniz Raneland

Sourceror @ factor10

Varberg, Sweden

View Speaker Profile