This article was inspired by my colleague, who was searching for a way to set up mocks that could support unit-testing unstructured concurrency. He stumbled, via Googling and serendipity, upon an ancient 12,000-word epic poem I’d written in a past life, covering async unit testing.
Hidden within, he found the solution he was searching for.
(I still haven’t shut up about it.)
Today, I’ll flex my improved writing chops and save you 45 minutes: I’ll condense this single original technique into a Quick Hack you can apply to your projects right now.
Paid members get lots of nice things:
⚓️ Access my full library of paywalled articles (including this one)
🚀 Read free articles a month before anyone else
🧵 Master concurrency with my full course and advanced training
🧑🚀 Get a free copy of my new eBook, “Land your iOS Tech Job”
❤️🩹 Support independent, sometimes funny, tech writing


