shelltestrunner
« Back to VersTracker
Description:
Portable command-line tool for testing command-line programs
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: testing cli developer-tools automation shell
Install: brew install shelltestrunner
About:
Shelltestrunner is a portable command-line tool designed for testing other command-line programs. It reads test cases from a plain text file, executes the specified commands, and compares the actual output and exit status against expected results. This provides a simple, human-readable way to write and automate functional tests for CLI applications and shell scripts.
Key Features:
  • Simple, human-readable test case format
  • Cross-platform and language-agnostic
  • Automated comparison of output, error, and exit codes
  • Supports test timeouts and test case grouping
Use Cases:
  • Regression testing for command-line utilities
  • Validating shell script behavior in CI/CD pipelines
  • Documenting expected program behavior with executable examples
Alternatives:
  • bats – Bats (Bash Automated Testing System) is tightly integrated with Bash, while shelltestrunner is language-agnostic and uses a more human-readable test format.
  • expect – Expect is a Tcl-based tool for automating interactive applications, whereas shelltestrunner is focused on non-interactive CLI testing and result verification.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 10:18am 0 VERSION_BUMP 74b4e2e2
Sep 14, 2024 6:52pm 0 VERSION_BUMP 82e36bfd