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 subscribers get full access to this article, plus my full Quick Hacks library. You’ll also get all my long-form content 3 weeks before anyone else.
Keep reading with a 7-day free trial
Subscribe to Jacob’s Tech Tavern to keep reading this post and get 7 days of free access to the full post archives.