macOS
brew install shelltestrunnerlocal Homebrew formula metadata
brew / rank 9320
Portable command-line tool for testing command-line programs. Version 1.11 via Homebrew; verified 2026-09-13. Also installable with debian: sudo apt install shelltestrunner.
install
brew install shelltestrunnerlocal Homebrew formula metadata
sudo apt install shelltestrunnerDebian stable package indexes · shelltestrunner · source: deb.debian.org
overview
Portable command-line tool for testing command-line programs
history
shelltestrunner is a portable, Haskell-based black-box test runner for command-line programs. Its shelltest executable reads concise specifications containing commands, input, expected output, expected error output, and exit status.
Simon Michael wrote shelltestrunner, taking inspiration from John Wiegley's tests for Ledger. The tool developed three test-specification formats; format 3 is now preferred, while the older formats remain for compatibility and can be converted with the print facility.
The project has been packaged for Debian and Ubuntu and is installable through the Haskell Stack and Cabal ecosystems. Its README also names real users of its test formats, including Agda, cblrepo, hledger, and shelltestrunner itself.
Users write .test files and run shelltest against files or directories. The runner can recurse through test directories, execute cases in parallel, substitute the executable under test, select or exclude cases, impose timeouts, and compare stdout, stderr, and exit status literally or by regular expression. It has no documented persistent configuration or credentials file.
shelltestrunner gives package authors a lightweight, language-independent way to test command behavior from the outside. Plain-text fixtures, portable shell selection, parallel execution, filtering, timeouts, and explicit stdout, stderr, and exit-status assertions make it well suited to distribution-level regression tests.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
shelltest | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/simonmichael/shelltestrunner
install metadata
| Package key | brew:shelltestrunner |
|---|---|
| Version | 1.11 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/shelltestrunner |
| Homepage | https://github.com/simonmichael/shelltestrunner |
| Repository | https://github.com/simonmichael/shelltestrunner |
| License | GPL-3.0-or-later |
| Source archive | https://hackage.haskell.org/package/shelltestrunner-1.11/shelltestrunner-1.11.tar.gz |
| Last updated | 2026-09-13T13:43:27Z |
| Pulse | updated |
| Dependencies | gmp |
| Build dependencies | cabal-install, ghc |
| Uses from macOS | libffi |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | shelltestrunner |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
shelltestrunner 1.10-1+b1
test command-line programs or arbitrary shell commands
https://github.com/simonmichael/shelltestrunner
sudo apt install shelltestrunnershelltestrunner 1.9.0.1-1
test command-line programs or arbitrary shell commands
https://github.com/simonmichael/shelltestrunner
sudo apt install shelltestrunnersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.