Alex Banul
Why you must use TDD now!
#1about 5 minutes
Introduction and overview of the TDD talk
The speaker introduces himself, his company Avanade, and outlines the structure of the talk on test-driven development.
#2about 1 minute
The challenges of traditional code-first development
Traditional development cycles where testing happens after implementation often lead to bugs slipping into production.
#3about 1 minute
What is test-driven development (TDD)
TDD is a software development process that converts requirements into test cases before writing the actual implementation code.
#4about 2 minutes
The core TDD workflow is red-green-refactor
The TDD process involves writing a failing test (red), writing just enough code to make it pass (green), and then cleaning up the code (refactor).
#5about 6 minutes
Live demo of writing a failing test first
A live coding demo begins by creating a .NET Web API project and writing a test for a health check endpoint that fails as expected.
#6about 2 minutes
Demo of making the first test pass
The demo shows how to write the minimal amount of code, including a controller and configuration, to make the initial health check test pass.
#7about 5 minutes
Demo of testing a calculator's add endpoint
The TDD process is applied to a calculator's add endpoint, starting with a simple test and then adding more test cases to expose flaws in a naive implementation.
#8about 4 minutes
Demo of fixing implementation using test feedback
By running multiple test cases, subtle bugs like incorrect parameter names are identified and fixed, ensuring the implementation meets all requirements.
#9about 4 minutes
Evaluating the benefits and challenges of TDD
TDD leads to testable solutions and cleaner architecture but requires discipline and team buy-in to overcome the initial temptation to code first.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
09:31 MIN
Exploring the key benefits of adopting TDD
Breaking the Bug Cycle: TDD for the Win
04:55 MIN
Introducing the core principles of test-driven development
Breaking the Bug Cycle: TDD for the Win
09:00 MIN
Using test-driven development to guide implementation
How Unit Testing Saved My Career
08:37 MIN
Understanding the Test-Driven Development workflow
Yes, You Need to Unit Test your JavaScript. Here's How.
38:32 MIN
Applying Test-Driven Development (TDD) strategically
How not to test
39:18 MIN
Adopting TDD as a design tool, not just a testing method
Treat yourself - A tale about dog training and test-driven development
07:12 MIN
Understanding the Test-Driven Development (TDD) workflow
Test Driven Development with JavaScript
09:35 MIN
Understanding the red-green-refactor cycle of TDD
Treat yourself - A tale about dog training and test-driven development
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
Testing .NET applications a Tool box for every developer
Alexandre Borges
How to TDD in legacy code
Gil Zilberfeld
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


.webp?w=240&auto=compress,format)
From learning to earning
Jobs that call for the skills explored in this talk.



Software Development Engineer in Test
Compare the Market

Software Development Engineer in Test
Compare the Market




