Skip to main content

generate_test

Function generate_test 

Source
pub fn generate_test(
    session: &RecordedSession,
    options: &CodegenOptions,
) -> String
Expand description

Generates a Rust test file from a recorded session.

Converts DOM interactions into VictauriClient API calls and IPC events into verification assertions. The generated test is self-contained and can be run with cargo test.