# John Hughes - Don't Write Tests

- Channel: Curry On!
- Duration: 41 min
- Published on YouTube: 2017-06-20
- Watched: 2023-10-01
- Topics: Testing and quality
- Video: https://www.youtube.com/watch?v=hXnS_Xjwk2Y
- Page: https://schafzahl.dev/talks/john-hughes-don-t-write-tests/

## Summary

John Hughes argues that testing is hard because the number of feature interactions grows combinatorially, so tests should be generated rather than written by hand. Using QuickCheck, he demonstrates random call sequences and shrinking to a minimal failing case on a circular buffer in C, then describes industrial uses at Quviq. Examples include a CAN bus priority bug, automotive standard testing that found over 200 problems, and an Erlang database crash reproduced with a handful of calls.
