cram

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

Install

All systems
curl cmd.cat/cram.sh
Debian Debian
apt-get install python-cram
Ubuntu
apt-get install python-cram
Arch Arch Linux
pacman -S python-cram
image/svg+xml Kali Linux
apt-get install python-cram
Fedora
dnf install python-cram
Windows (WSL2)
sudo apt-get update sudo apt-get install python-cram
Raspbian
apt-get install python-cram

python-cram

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

Cram tests look like snippets of interactive shell sessions. Cram runs each command and compares the command output in the test with the command's actual output. This package provides the Python 2.x version.

python3-cram

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

Cram tests look like snippets of interactive shell sessions. Cram runs each command and compares the command output in the test with the command's actual output. This package provides the Python 3.x version.