Mirjam Aulbach
Treat yourself - A tale about dog training and test-driven development
#1about 3 minutes
Connecting dog training principles to software testing
The speaker's background as a dog trainer provides a unique perspective on the principles behind test-driven development.
#2about 6 minutes
Applying positive reinforcement and small steps in training
Effective dog training focuses on reinforcing desired behaviors in small, achievable steps, similar to writing user stories and iterating.
#3about 3 minutes
Understanding the red-green-refactor cycle of TDD
TDD is a programmer-driven technique that follows a red-green-refactor cycle, writing a failing test before writing any implementation code.
#4about 4 minutes
How TDD builds a strong foundation of unit tests
TDD primarily generates fast and reliable unit tests, forming the stable base of the testing pyramid essential for agile development.
#5about 6 minutes
Building a dog training simulator with TDD
A practical coding example begins by writing the first failing tests to initialize a `Dog` class and assign it a name in JavaScript.
#6about 7 minutes
Using TDD to implement logic and catch bugs early
The TDD cycle helps catch a logical bug early when implementing rewards, demonstrating its value in preventing errors from reaching users.
#7about 4 minutes
Refactoring implementation and test code with confidence
With a suite of passing tests in place, the implementation and test code can be safely refactored to be more maintainable and less repetitive.
#8about 6 minutes
Simulating the learning process with a counter
A counter is added to track rewarded behaviors, allowing the dog to "learn" a command after a set number of successful repetitions.
#9about 4 minutes
Adopting TDD as a design tool, not just a testing method
TDD should be viewed as a code design strategy that promotes focus and clean architecture, but it's important to apply it pragmatically rather than dogmatically.
Related jobs
Jobs that call for the skills explored in this talk.
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
Matching moments
03:58 MIN
Making accessibility tooling actionable and encouraging
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
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
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:07 MIN
Final advice for developers adapting to AI
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
05:17 MIN
Shifting from traditional CVs to skill-based talent management
From Data Keeper to Culture Shaper: The Evolution of HR Across Growth Stages
Featured Partners
Related Videos
Breaking the Bug Cycle: TDD for the Win
Nadeen Hussein
Test Driven Development with JavaScript
Sascha Depold & Parinaz Roghany
How Unit Testing Saved My Career
Annelore Egger
How to TDD in legacy code
Gil Zilberfeld
Write tests you love, not hate
Jens Happe
Test-Driven Development: It's easier than you think!
Eric Deandrea
Why you must use TDD now!
Alex Banul
TDD for Vue.js Developers
Markus Oberlehner
Related Articles
View all articles



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

Eltemate
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Automated Testing
Continuous Integration

Power Plus Communications
Mannheim, Germany
Intermediate
Senior
Python
Unit Testing
Automated Testing

Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

Patronus Group
Berlin, Germany
Senior
Kotlin
Spring Boot
Amazon Web Services (AWS)


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

Wilken GmbH
Ulm, Germany
Senior
Kubernetes
AI Frameworks
GitHub Copilot
Anthropic Claude
Cloud (AWS/Google/Azure)
