cmd-test
Utility to test console applications
...Each line is interpreted and compared against a list of known commands. Comments must stay on their own line and should start with a # sign.
The documentation uses the term target to refer to a program that is being tested. To create a new target use the TARGET command. To change current target use the SWITCH command. Targets are discarded only at the end of the program. If you do not check explicitly for program exit using END TARGET or EXIT CODE, the program will check this itself at the end. Finding a target still running at this point is considered to be a failed test.