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

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Discover how to craft tests that effectively narrate your domain's story in this insightful conference talk. Learn techniques to create tests that serve as living documentation, ensuring code clarity for future reference. Explore the importance of proper test naming, avoiding common pitfalls, and leveraging mob testing for team collaboration. Gain valuable insights on incorporating both technical and business details into your tests, making them as crucial as production code. Master the art of value chain testing for unhappy paths and understand how to capture domain quirks. By the end of this talk, you'll be equipped to write tests that not only validate code but also serve as a comprehensive guide to your project's domain.

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.