Module endbasic_std::testutils [−][src]
Test utilities for consumers of the EndBASIC interpreter.
Structs
Checker | Captures expectations about the execution of a command and validates them. |
MockConsole | A console that supplies golden input and captures all output. |
RecordedProgram | A stored program that exposes golden contents and accepts new content from the console when edits are requested. |
Tester | Builder pattern to prepare an EndBASIC machine for testing purposes. |
Enums
CapturedOut | A captured command or messages sent to the mock console. |
Functions
check_expr_error | Executes |
check_expr_ok | Executes |
check_stmt_err | Executes |