How to Install and Uninstall jmock Package on openSUSE Leap

Last updated: May 18,2024

1. Install "jmock" package

Here is a brief guide to show you how to install jmock on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install jmock

2. Uninstall "jmock" package

In this section, we are going to explain the necessary steps to uninstall jmock on openSUSE Leap:

$ sudo zypper remove jmock

3. Information about the jmock package on openSUSE Leap

Information for package jmock:
------------------------------
Repository : Main Repository
Name : jmock
Version : 1.2.0-bp155.2.12
Arch : noarch
Vendor : openSUSE
Installed Size : 115.9 KiB
Installed : No
Status : not installed
Source package : jmock-1.2.0-bp155.2.12.src
Upstream URL : http://jmock.codehaus.org/license.html
Summary : Test Java code using mock objects
Description :
jMock is a library for testing Java code using mock objects. Mock
objects help you design and test the interactions between the
objects in your programs. The jMock package: * makes it quick and
easy to define mock objects, so you don't break the rhythm of
programming.
* lets you define flexible constraints over object interactions,
reducing the brittleness of your tests.
* is easy to extend.

5. The same packages on other Linux Distributions