Skip to content

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.

Where the book teaches it

Related terms

bubble