Alex Banul
Why you must use TDD now!
#1about 3 minutes
The problem with traditional development cycles
Traditional development, where tests are written after implementation, often leads to bugs slipping through QA and into production.
#2about 3 minutes
Understanding the Red-Green-Refactor TDD cycle
TDD inverts the traditional process by first writing a failing test (Red), then writing just enough code to make it pass (Green), and finally cleaning up the code (Refactor).
#3about 8 minutes
Demo: Writing the first failing test for a health endpoint
The demo begins by creating a test for a server health endpoint, which fails because the endpoint and server configuration do not exist yet.
#4about 9 minutes
Demo: Implementing an addition feature using TDD
A calculator's 'add' endpoint is built by writing a failing test, implementing minimal code to pass, and then refactoring the test with multiple cases to ensure correct logic.
#5about 5 minutes
Evaluating the pros and cons of adopting TDD
TDD leads to more testable solutions and cleaner architecture but requires discipline and team buy-in to overcome the initial temptation to write implementation code first.
Related jobs
Jobs that call for the skills explored in this talk.
Eltemate
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Continuous Integration
+1
Dennemeyer Group
Hesperange, Luxembourg
Intermediate
Senior
.NET
Structured Query Language (SQL)
Matching moments
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
04:49 MIN
Using content channels to build an event community
Cat Herding with Lions and Tigers - Christian Heilmann
03:28 MIN
Why corporate AI adoption lags behind the hype
What 2025 Taught Us: A Year-End Special with Hung Lee
04:22 MIN
Why HR struggles with technology implementation and adoption
What 2025 Taught Us: A Year-End Special with Hung Lee
02:44 MIN
Rapid-fire thoughts on the future of work
What 2025 Taught Us: A Year-End Special with Hung Lee
14:14 MIN
Scripting presentations and demos in VS Code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
Featured Partners
Related Videos
Write tests you love, not hate
Jens Happe
Breaking the Bug Cycle: TDD for the Win
Nadeen Hussein
TDD for Vue.js Developers
Markus Oberlehner
How to TDD in legacy code
Gil Zilberfeld
Testing .NET applications a Tool box for every developer
Alexandre Borges
Treat yourself - A tale about dog training and test-driven development
Mirjam Aulbach
Yes, You Need to Unit Test your JavaScript. Here's How.
James Bender
Dirty Tests And How To Clean Them
Gil Zilberfeld
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
Angular
TypeScript

Test Driven Solutions Ltd
Newcastle upon Tyne, United Kingdom
Remote
Intermediate
DevOps
Python
Gitlab
Splunk
+14

Compare the Market
Charing Cross, United Kingdom
API
Agile Methodologies

GenTrack
Charing Cross, United Kingdom
Senior
API
.NET
JIRA
Azure
Blazor
+2

Compare the Market
Peterborough, United Kingdom
API
Agile Methodologies

Client Server
Newcastle upon Tyne, United Kingdom
£33K
Junior
Python
Agile Methodologies

Test Driven Solutions
Edinburgh, United Kingdom
Intermediate
Java
MySQL
NoSQL
Scrum
Jenkins
+4

Triad Group Plc
Charing Cross, United Kingdom
Remote
Senior
Java
Scrum
Cypress
Agile Methodologies
