Learn Go with Tests adds a chapter on Go 1.25's synctest for real time simulation
A new Learn Go with Tests chapter covers testing/synctest, the Go 1.25 package that runs real time.AfterFunc, Sleep, and channel code under a fake, controllable clock. It revisits the poker CLI's BlindAlerter to show how to test the actual timer code instead of a spy, with no flakiness or minute-long waits.