shunit2
unit test framework for Bourne based shell scripts
Install
- All systems
-
curl cmd.cat/shunit2.sh
- Debian
-
apt-get install shunit2
- Ubuntu
-
apt-get install shunit2
- Kali Linux
-
apt-get install shunit2
- Fedora
-
dnf install shunit2
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install shunit2
- OS X
-
brew install shunit2
- Raspbian
-
apt-get install shunit2
- Dockerfile
- dockerfile.run/shunit2
shunit2
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.