1 pages tagged with "golang"
Improving Failure Messages with Async Tests in Go
October 15, 2021 - 691 words - 4 mins
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