Tests Should Tell a Story

A session at Lone Star PHP 2017

Saturday 22nd April, 2017

10:00am to 10:50am (CST)

PHP has been adopting testing on a wider scale over the past several years, and it feels like we're finally at a point where we can start to sharpen our skills and tools, rather than rallying to see any testing at all. At this point we should start ensuring that our tests tell the story we'd like them to.

Through an analogy of storytelling, this talk aims to help you be the hero of your testing story by giving new context and perspective to the way a test suite should read to both your colleagues and your future self. We'll demonstrate how proper naming and assertions can lead to simpler, faster debugging. We'll also see how an end-to-end test has a far more compelling story when you focus on describing the feature and business goals over describing a specific UI workflow in painful detail.

About the speaker

This person is speaking at this event.
Matthew Machuga

Family man. Senior Software Developer at Think Through Math. Erie Day of Code and Coderie organizer. bio from Twitter

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 10:00am10:50am CST

Date Sat 22nd April 2017

Short URL


Official event site


View the schedule


See something wrong?

Report an issue with this session