Minimal working example of how to do bash unit testing with python's unittest
The principle, calling the bash script from python and using unittest to do the unit testing can be applied to other language/unit testing framework pairs.
src/hello.sh
python -m unittest discover -s test
this outputs:
.
----------------------------------------------------------------------
Ran 1 test in 0.159s
OK
bash, python 3