Module git_branchless::tui::testing
source · [−]Expand description
Testing helpers for interactive interfaces.
Structs
The testing backend. It feeds a predetermined list of events to the Cursive event loop and stores a virtual terminal for Cursive to draw on.
Enums
The kind of events that can be
Functions
Convert the screenshot into a string for assertions, such as for use
with insta::assert_snapshot!
.
Type Definitions
Represents a “screenshot” of the terminal taken at a point in time.