Skip to main content

Module test_engine

Module test_engine 

Expand description

Deterministic in-process engine used by unit tests and --shots headless renders. It loads no network content: every “page” is a flat colour derived from a stable hash of the URL, with a darker header band, so different URLs render visibly different frames and pixel assertions stay byte-stable across runs.

All received commands are recorded and inspectable via TestEngine::commands, which is what widget tests assert against.

Structs§

TestEngine