Jens Happe
Write tests you love, not hate
#1about 9 minutes
Identifying the common pains of software testing
Traditional testing approaches often lead to excessive boilerplate code, fragile tests that break on refactoring, and slow execution times that disrupt developer flow.
#2about 5 minutes
Improving test readability with the given-when-then pattern
Structuring tests using the given-when-then pattern and explicit constants makes the setup, action, and verification steps clear and easy to follow.
#3about 8 minutes
Reducing boilerplate with entity builders and trainers
The entity builder pattern simplifies test data creation, while trainer classes encapsulate the configuration of mock objects to reduce repetitive setup code.
#4about 12 minutes
Decoupling tests from implementation details
Avoid fragile tests by testing broader use cases instead of individual classes, which allows for refactoring the implementation without breaking the tests.
#5about 4 minutes
How to speed up slow test execution
Isolate tests from slow external dependencies like databases and frameworks by using clean architecture principles to focus on testing core logic.
#6about 2 minutes
The evolution of testing practices at Chrono24
A look at how Chrono24 moved from minimal automated testing to a sophisticated system with thousands of fast, use-case-driven tests.
#7about 3 minutes
Summary of key principles for better testing
A recap of the core strategies for writing useful tests, including clear structure, simplified setup, decoupling from implementation, and isolating external dependencies.
#8about 12 minutes
Q&A on testing strategies and team adoption
Answering audience questions about integration testing challenges, code abstraction, introducing new testing methods to a team, and the role of testing for junior developers.
Related jobs
Jobs that call for the skills explored in this talk.
Wilken GmbH
Ulm, Germany
Intermediate
Java
Maven
+1
tree-IT GmbH
Bad Neustadt an der Saale, Germany
€54-80K
Intermediate
Senior
Java
TypeScript
+1
Matching moments
01:41 MIN
Why good tests enable confident refactoring and speed
TDD for Vue.js Developers
07:27 MIN
Why developers avoid unit testing JavaScript
Yes, You Need to Unit Test your JavaScript. Here's How.
01:57 MIN
Why developers often view unit testing as a chore
Test-reduction - Doing more with less
05:08 MIN
Evaluating the pros and cons of adopting TDD
Why you must use TDD now!
02:53 MIN
Balancing comprehensive testing with development speed
Accessibility Test Driven Development
02:52 MIN
The vicious cycle of untestable legacy code
How Unit Testing Saved My Career
02:02 MIN
Practical strategies for testing legacy applications
Testing .NET applications a Tool box for every developer
04:36 MIN
Introducing the core principles of test-driven development
Breaking the Bug Cycle: TDD for the Win
Featured Partners
Related Videos
Dirty Tests And How To Clean Them
Gil Zilberfeld
Single Server, Global Reach: Running a Worldwide Marketplace on Bare Metal in a Cloud-Dominated World
Jens Happe
Give your build some love, it will give it back!
Amanda Martin
TDD for Vue.js Developers
Markus Oberlehner
Test-Driven Development: It's easier than you think!
Eric Deandrea
How Unit Testing Saved My Career
Annelore Egger
Why I Love End-2-End Tests and How To Get Them Right
Johannes Stern
Why you must use TDD now!
Alex Banul
Related Articles
View all articles


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



Thalia Bücher GmbH
Münster, Germany
Java
JUnit
Spock
Appium
Gitlab
+5

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

Kontext E GmbH von ITsax.de
Dresden, Germany
Remote
C++
Bash
CMake
DevOps
+1

JPMorgan Chase & Co.
Bournemouth, United Kingdom
Java
Machine Learning
Agile Methodologies
Continuous Integration



Market Lavington
Market Lavington, United Kingdom
Java
JUnit
Spring
Jenkins
Selenium
+2