shelltestrunner

Test command-line programs by comparing actual output to expected results

brewmacoslinux
Try with needOr install directly
Source

About

Portable command-line tool for testing command-line programs

Commands

shelltest

Examples

Run all shell tests in the current directory$ shelltest
Test a specific shell test file$ shelltest mycommand.test
Run tests with verbose output showing all test cases$ shelltest -v