On testing: "Does it work?" vs. "Does it fulfill the contract?" Feb 01, 2026Do you rigorously distinguish between black-box and white-box testing? The distinction matters a lot, and with Go, it takes no effort to implement either kind of test.
The Synctest Package (new in Go 1.25) Jun 15, 2025Tests that rely on time.Sleep() to test timings can be unreliable and slow. The synctest package introduces two antidotes: fake time and
Property Testing: Beyond Matching Input-Output Pairs Dec 01, 2024How to test properties of a function call that hold true for any input