cmdtest
blackbox testing of Unix command line programs
Install
- All systems
-
curl cmd.cat/cmdtest.sh
- Debian
-
apt-get install cmdtest
- Ubuntu
-
apt-get install cmdtest
- Kali Linux
-
apt-get install cmdtest
- Fedora
-
dnf install cmdtest
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install cmdtest
- Raspbian
-
apt-get install cmdtest
- Dockerfile
- dockerfile.run/cmdtest
cmdtest
blackbox testing of Unix command line programs
cmdtest black box tests Unix command line tools. Roughly, it is given a a script, its input files, and its expected output files. cmdtest runs the script, and checks the output is as expected. cmdtest is aimed specifically at testing non-interactive Unix command line programs, and tries to make that as easy as possible. Also included is a "scenario testing" tool, yarn.