Coming in Go 1.24: testing/synctest experiment for time and concurrency testing
Testing code that involves time or concurrency can be a struggle. It often leads to hard-to-debug flakes in CI or long-running tests.
Go 1.24 is scheduled to be released in February and the release freeze has begun.
It’s set to include an experimental testing/synctest package designed to make testing code that involves time or concurrency precise and fast.
https://danp.net/posts/synctest-experiment/
Testing code that involves time or concurrency can be a struggle. It often leads to hard-to-debug flakes in CI or long-running tests.
Go 1.24 is scheduled to be released in February and the release freeze has begun.
It’s set to include an experimental testing/synctest package designed to make testing code that involves time or concurrency precise and fast.
https://danp.net/posts/synctest-experiment/