shelltest
test command-line programs or arbitrary shell commands
Install
- All systems
-
curl cmd.cat/shelltest.sh
- Debian
-
apt-get install shelltestrunner
- Ubuntu
-
apt-get install shelltestrunner
- Kali Linux
-
apt-get install shelltestrunner
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install shelltestrunner
- OS X
-
brew install shelltestrunner
- Raspbian
-
apt-get install shelltestrunner
- Dockerfile
- dockerfile.run/shelltest
shelltestrunner
test command-line programs or arbitrary shell commands
shelltestrunner is a cross-platform tool for testing command-line programs (or arbitrary shell commands). It reads simple declarative tests specifying a command, some input, and the expected output, error output and exit status. Tests can be run selectively, in parallel, with a timeout, in color, and/or with differences highlighted.