1 pages tagged with "golang"
Improving Failure Messages with Async Tests in GoOctober 15, 2021 - 696 words - 4 mins
Let me start by saying that testing highly asynchronous code can be highly time-consuming and tricky. If possible, I always try to include some sort of synchronization mechanism even if only exposed to unit tests. However, sometimes, there's no alternative, and an async test is better than no test! … read more