How to Install and Uninstall shunit2 Package on openSuSE Tumbleweed

Last updated: November 23,2024

1. Install "shunit2" package

Please follow the steps below to install shunit2 on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install shunit2

2. Uninstall "shunit2" package

Please follow the instructions below to uninstall shunit2 on openSuSE Tumbleweed:

$ sudo zypper remove shunit2

3. Information about the shunit2 package on openSuSE Tumbleweed

Information for package shunit2:
--------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : shunit2
Version : 2.1.6-7.1
Arch : noarch
Vendor : openSUSE
Installed Size : 260.7 KiB
Installed : No
Status : not installed
Source package : shunit2-2.1.6-7.1.src
Upstream URL : https://github.com/kward/shunit2
Summary : Test Framework for Bourne Based Shell Scripts
Description :
shUnit2 is a xUnit unit test framework for Bourne based shell scripts,
and it is designed to work in a similar manner to JUnit, PyUnit, etc.
If you have ever had the desire to write a unit test for a shell
script, shUnit2 can do the job.