Expand description
Testing helpers for interactive interfaces.
Structs§
- Cursive
Testing Backend - 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§
- Cursive
Testing Event - The kind of events that can be
Functions§
- screen_
to_ string - Convert the screenshot into a string for assertions, such as for use
with
insta::assert_snapshot!
.
Type Aliases§
- Screen
- Represents a “screenshot” of the terminal taken at a point in time.