Automic VaultAutomic Vault

brew

cram mit Homebrew, apt, MacPorts installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cram in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install cram

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install cram

MacPorts ports tree · devel/cram/Portfile · Quelle: api.github.com

Linux

Debian aptverifiziert · 92%
sudo apt install python3-cram

Debian stable package indexes · python3-cram · Quelle: deb.debian.org

Überblick

Paketzusammenfassung

Functional testing framework for command-line applications

Befehle und Aliase

  • cram

Verlauf

Projektgeschichte und Nutzung

Cram is a functional testing framework for command-line applications, built around test files that look like annotated interactive shell sessions.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2010: Version 0.1 was released.
  • 2010: Versions 0.3 and 0.4 added environment isolation, interactive updates, regex and glob matching.
  • 2013: Version 0.6 added `.cramrc`, shell selection, and Arch Linux package metadata.
  • 2016: Version 0.7 added debug mode, shell options, and xUnit XML output.

Related projects

  • Cram is conceptually close to shell transcript testing and Mercurial-style `.t` tests, but is distributed as its own Python command-line test runner.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
cramcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version0.7
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://bitheap.org/cram

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoRelease/tag comparison is only available for GitHub repositories.https://bitheap.org/cramnone Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:cram
Version0.7
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/cram
Homepagehttps://bitheap.org/cram
Repositoryhttps://github.com/aiiie/cram
Upstream-Dokumentationhttps://bitheap.org/cram
LizenzGPL-2.0-or-later
Quellarchivhttps://files.pythonhosted.org/packages/38/85/5a8a3397b2ccb2ffa3ba871f76a4d72c16531e43d0e58fc89a0f2983adbd/cram-0.7.tar.gz
Abhängigkeitenpython@3.14
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecram
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

python3-cram 0.7-6

functional testing framework for command line applications - Python 3.x

https://bitheap.org/cram/

sudo apt install python3-cram
  • Section: python
  • Architecture: all
  • Source Package: cram
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cram
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-cram from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python3-cram 0.7-5

functional testing framework for command line applications - Python 3.x

https://bitheap.org/cram/

sudo apt install python3-cram
  • Section: universe/python
  • Architecture: all
  • Source Package: cram
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cram
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-cram from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

cram

sudo port install cram
  • normalized package name match
  • Abgeglichen nach: Cram
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/cram/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment