Install shunit2 by entering the following commands in the terminal:
sudo apt update sudo apt install shunit2
Description:
unit test framework for Bourne based shell scripts
shUnit2 was originally developed to provide a consistent testing solution for log4sh, a shell based logging framework similar to log4j. It is designed to work in a similar manner to JUnit, PyUnit, etc.
Homepage: http://code.google.com/p/shunit2/
Version: 2.1.6-1.1ubuntu1
Section: universe/devel