Install cmdtest by entering the following commands in the terminal:
sudo apt update sudo apt install cmdtest
Description:
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.
Homepage: http://liw.fi/cmdtest/
Version: 0.32-1
Section: universe/python