Skip to main content

Module codegen

Module codegen 

Source
Expand description

Test code generation from recorded sessions.

Converts a RecordedSession into a self-contained Rust test file that replays DOM interactions through the VictauriClient API and optionally asserts on IPC outcomes and state transitions.

Structs§

CodegenOptions
Options for controlling test code generation.

Functions§

generate_test
Generates a Rust test file from a recorded session.
generate_test_default
Generates a Rust test file from a recorded session using default options.