Glossary: Go Beyond the Basics
testing/synctest
Also written: synctest, synctest.Test
A package that runs a test in a bubble with a fake clock, so waits take no real time and the test doesn't flake on a busy machine.
Glossary: Go Beyond the Basics
Also written: synctest, synctest.Test
A package that runs a test in a bubble with a fake clock, so waits take no real time and the test doesn't flake on a busy machine.