Cram is a functional testing framework for command line applications. 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. Here's a snippet from Cram's own test suite: Set up cram alias and example tests: $ . "$TESTDIR"/setup.sh Usage: $ cram -h [Uu]sage: cram \[OPTIONS\] TESTS\.\.\. (re) [

