# Structure and Interpretation of Test Cases • Kevlin Henney • GOTO 2022

- Channel: GOTO Conferences
- Duration: 46 min
- Published on YouTube: 2022-09-07
- Watched: 2023-05-20
- Topics: Testing and quality, Coding
- Video: https://www.youtube.com/watch?v=MWsk1h8pv2Q
- Page: https://schafzahl.dev/talks/structure-and-interpretation-of-test-cases-kevlin-henney-goto-2022/

## Summary

Kevlin Henney uses small examples such as leap-year rules and FizzBuzz to argue that unit tests express intent as much as they verify behaviour. He covers meaningful test names instead of numbered ones, one logical assertion per test, ordering cases as a narrative with mutually exclusive categories, and how coverage figures can mislead. He closes with property-based testing of FizzBuzz.
