Documentation
¶
Overview ¶
Package clocktest contains deterministic testing helpers for clock.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Advance ¶
Advance advances a manual clock, waits for all synchronously triggered work, and fails the current test if either phase reports an error.
func SystemBubble ¶
SystemBubble runs test in a testing/synctest bubble with a System clock. Prefer this helper when the complete unit under test can live inside one bubble. Use dependency-injected manual clocks for explicit business timestamps, wall jumps, and cross-package clock contracts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.