Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Make Your Tests Tell the Story of Your Domain

NDC Conferences via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk shows how to write tests that capture a software domain’s business details and nuances so future developers can understand the code. It discusses test naming, mocks, typing, and mob testing.

Syllabus

Intro
A project named Lovisa
A long time ago in a Lovisa far, far away
We don't like testing
Use your computer
Why do we write tests?
What story do you want to tell?
Tell the whole story
What happens when you die?
One test, several wins
Value chain your unhappy paths
Tell the quirks of the domain
What is a domain?
What is the technical domain?
Different domains, different languages
Tell the technical details
Tell the business details
Tests are as important as production code
Tell the story bearing in mind that you'll forget things
Naming tests
How to know if your test name ain't good?
Don't tell lies
Use real mocks
Beware the copy-paste fallacy
Typing prevents domain lies
Mob testing - useful for the whole team
Long story short

Taught by

NDC Conferences

Reviews

Start your review of Make Your Tests Tell the Story of Your Domain

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.