The Six Minute Guide to Useful Unit Tests.

Matt Schellhas
6 min readNov 30, 2023
Cute Kitten, thanks to Copilot

The biggest problem with unit tests are their name. Engineers will argue for ages about what a “unit of work” really is. Articles about how to do unit testing well all start with defining a unit of work, and it’s a shame — because it doesn’t fucking matter.

Unit of Work doesn’t help engineers produce more value. It does not make their lives easier. And after some twenty years writing unit…

--

--