Skip to main content

Module transcript

Module transcript 

Source
Available on crate feature javascript only.
Expand description

What a script asked the host to do, as data the host reads.

A value, not a trait. The script does not need the host’s answer to continue, so the line goes on a list and the host reads the list on its own schedule.

It is also the conformance comparison surface: a golden run compares the oracle’s stdout, line-wise and byte-exact, against these lines rendered. TranscriptLine::render is that contract rather than a debugging convenience.

Enums§

TranscriptLine
One thing a script asked the host to do.

Constants§

DEFAULT_ALERT_TITLE
The literal cTitle an app.alert with no title takes.

Functions§

render
Renders a whole transcript the way the oracle writes stdout: one line each, newline-terminated, lines that print nothing omitted.