macOS
brew install shelltestrunnerlocal Homebrew formula metadata
安装
brew install shelltestrunnerlocal Homebrew formula metadata
sudo apt install shelltestrunnerDebian stable package indexes · shelltestrunner · 来源: deb.debian.org
概览
Portable command-line tool for testing command-line programs
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
shelltest | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/simonmichael/shelltestrunner
安装元数据
| 软件包键 | brew:shelltestrunner |
|---|---|
| 版本 | 1.11 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/shelltestrunner |
| 主页 | https://github.com/simonmichael/shelltestrunner |
| 仓库 | https://github.com/simonmichael/shelltestrunner |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://hackage.haskell.org/package/shelltestrunner-1.11/shelltestrunner-1.11.tar.gz |
| 最后更新 | 2026-09-13T13:43:27Z |
| Pulse | updated |
| 依赖 | gmp |
| 构建依赖 | cabal-install, ghc |
| macOS 提供的库 | libffi |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 shelltestrunner来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.