Expand description
Testing utilities for nexus-rt handlers and timer drivers.
Two tiers of testing infrastructure:
TestHarness— dispatch events through handlers directly, auto-advancing sequence numbers, with world access for assertions.TestTimerDriver(requirestimerfeature) — wrapsTimerPollerwith virtual time control for deterministic timer testing.
Always available (no feature gate).
Structs§
- Test
Harness - Minimal test harness for handler dispatch.
- Test
Timer Driver - Virtual-time wrapper around
TimerPollerfor deterministic timer testing.