Bombadil, a property-based testing framework for user interfaces, now has experimental support for terminal user interfaces (TUIs). Built on top of two Rust crates, the TUI fuzzer runs a target command, polls its output, and sends interleaved random input sequences including printable ASCII and ANSI escape sequences, while also simulating scrolling and resizing. Despite being early-stage, the fuzzer already uncovered four real bugs in real TUI programs and terminal games. The work has been merged to main and a preview binary is available from CI artifacts, with future goals including better integration into the main Bombadil binary as a subcommand.

2m read timeFrom wickstrom.tech
Post cover image

Sort: