BDD testing that runs in your shell
choreo is a test runner and executable Domain-Specific Language (DSL) designed for behavior-driven testing of command-line applications. It brings the power and expressiveness of a BDD framework like Cucumber to the shell, allowing you to write automated, human-readable tests for any command-line tool or system interaction.
The tests are written in a structured, Gherkin-inspired format, making them easy to read and maintain. Each .chor file is a self-contained, executable test, eliminating the need for separate “step definition” files.
given-when-then structure within test blocks for clear and descriptive tests..chor files are complete, runnable tests without needing separate “step definition” files.stdout, stderr, and exit codes, and a “FileSystem” for managing files and directories.choreo is written in Rust, using pest for parsing the grammar, portable-pty for the pseudo terminal and ureq for HTTP requests.