macOS
brew install cramlocal Homebrew formula metadata
sudo port install cramMacPorts ports tree · devel/cram/Portfile · source: api.github.com
brew
Functional testing framework for command-line applications. Version 0.7 via Homebrew; verified from local package data.
install
brew install cramlocal Homebrew formula metadata
sudo port install cramMacPorts ports tree · devel/cram/Portfile · source: api.github.com
sudo apt install python3-cramDebian stable package indexes · python3-cram · source: deb.debian.org
overview
Functional testing framework for command-line applications
history
Cram is a functional testing framework for command-line applications, built around test files that look like annotated interactive shell sessions.
Cram's official site describes tests as snippets of interactive shell sessions: commands are run, and their actual output is compared with expected output stored in `.t` files.
The project's NEWS file shows a compact release history from 0.1 in 2010 through 0.7 in 2016. Over that period it gained interactive update support, regex and glob matching, temporary-directory isolation, Python 3 support, `.cramrc`, shell selection, and xUnit XML output.
Developers use Cram for black-box CLI tests where shell commands and expected output are easier to review than imperative test code. It prints unified diffs for failures, can write `.err` files, and can interactively merge observed output back into tests.
Cram has lasting package-manager appeal because it tests command-line behavior at the packaging boundary. A formula or distro maintainer can exercise installed commands exactly as users run them, without importing the application as a library.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
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 |
|---|---|---|---|
cram | 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.
install metadata
| Package key | brew:cram |
|---|---|
| Version | 0.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cram |
| Homepage | https://bitheap.org/cram |
| Repository | https://github.com/aiiie/cram |
| Upstream docs | https://bitheap.org/cram |
| License | GPL-2.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/38/85/5a8a3397b2ccb2ffa3ba871f76a4d72c16531e43d0e58fc89a0f2983adbd/cram-0.7.tar.gz |
| Dependencies | python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cram |
| 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.
python3-cram 0.7-6
functional testing framework for command line applications - Python 3.x
sudo apt install python3-crampython3-cram 0.7-5
functional testing framework for command line applications - Python 3.x
sudo apt install python3-cramcram
sudo port install cramsource 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.