Skip to main content

run_script

Function run_script 

Source
pub fn run_script(
    session: &mut Session,
    script: &[Command],
) -> Result<String, String>
Expand description

Run a parsed script, returning the transcript.

ยงErrors

Returns the assertion message for the first expect-* that does not hold, or a runtime/breakpoint-binding failure. The transcript up to that point is included so a failure reads as a session, not a bare assert.