Textual tests simulate key presses through the Pilot object.
In the source's words
Both tests first construct an instance of the app and then call `run_test()` to get a Pilot object.
Card
How to build a good TUI in 2026, and on which framework (Textual, OpenTUI, Ratatui, Bubble Tea, Ink)
Address
stacks.jakubdudek.com/tui-frameworks/c9
In a document: [[tui-frameworks#c9]]
JSON