Install Shunit2 On A Debian, Ubuntu, Kali, Fedora, Raspbian And MacOS

Install Shunit2 On A Debian, Ubuntu, Kali, Fedora, Raspbian And MacOS

shunit2

unit test framework for Bourne based shell scripts

Maintainer: Ulrich Dangel



Section: devel

Install shunit2

  • Debian apt-get install shunit2 Click to copy
  • Ubuntu apt-get install shunit2 Click to copy
  • Kali Linux apt-get install shunit2 Click to copy
  • Fedora dnf install shunit2 Click to copy
  • Raspbian apt-get install shunit2 Click to copy
  • macOS brew install shunit2 Click to copy

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.

Install the latest version of shunit2 in Debian, Ubuntu, Kali, Fedora, Raspbian and macOS from terminal. To install the shunit2 just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of shunit2 from the respository and install it in your computer/server.