Skip to main content

Module transport

Module transport 

Source
Expand description

What a .ui script talks to: the TCP control port (Client) or anything else that answers control methods, such as an in-process app driver on a virtual clock.

run_script runs a script against any Transport. sleep N and wait N call Transport::pause, so a driver with virtual time lets that time pass instead of the wall clock, and the same script gives the same steps on every run.

Structs§

Report
A script that ran to the end.
ScriptError
A script that stopped.

Traits§

Transport
Something that answers control methods.

Functions§

run_script
Run a .ui script (the batch language) against transport. name labels lines in errors. Commands that manage sessions or processes (open, connect, close, trace, …) fail here: the transport is the target.