Skip to main content

Module test_utils

Module test_utils 

Source
Expand description

Headless testing utilities.

TestBackend renders a UI closure to an in-memory buffer without a real terminal. EventBuilder constructs event sequences for simulating user input. Together they enable snapshot and assertion-based UI testing.

Structsยง

EventBuilder
Builder for constructing a sequence of input Events.
TestBackend
Headless rendering backend for tests.