LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

judo

CLI integration testing framework driven by YAML

TLDR

Run tests from a YAML file
$ judo [path/to/test.yml]
copy
Run a test suite directory
$ judo [path/to/tests/]
copy
Run with a timeout
$ judo [path/to/test.yml] --timeout [5000]
copy
Generate JUnit report
$ judo [path/to/test.yml] --junitreport
copy

SYNOPSIS

judo [--timeout ms] [--junitreport] file|directory

DESCRIPTION

judo is a CLI integration testing framework that tests command-line tools using simple YAML or JSON files. It executes commands, responds to stdin when expected stdout output occurs, asserts exit codes, and verifies that stdout and stderr contain or don't contain certain strings.The framework is designed for automated testing of CLI applications using nothing but stdin, stdout, and stderr, making it ideal for CI/CD pipelines.

INSTALL

sudo apk add judo
copy

CAVEATS

Requires Node.js and npm for installation. Test scenarios must be defined in YAML or JSON format. Interactive programs with complex terminal handling may not be fully testable.

HISTORY

judo was created by Intuit and is written in JavaScript/Node.js. It was designed to simplify integration testing of command-line tools in automated environments.

SEE ALSO

bats(1), expect(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid