How to Install and Uninstall powermock-testng Package on openSUSE Leap

Last updated: July 05,2024

1. Install "powermock-testng" package

Please follow the steps below to install powermock-testng on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install powermock-testng

2. Uninstall "powermock-testng" package

Please follow the steps below to uninstall powermock-testng on openSUSE Leap:

$ sudo zypper remove powermock-testng

3. Information about the powermock-testng package on openSUSE Leap

Information for package powermock-testng:
-----------------------------------------
Repository : Main Repository
Name : powermock-testng
Version : 1.6.5-bp155.2.63
Arch : noarch
Vendor : openSUSE
Installed Size : 25.8 KiB
Installed : No
Status : not installed
Source package : powermock-1.6.5-bp155.2.63.src
Upstream URL : https://github.com/jayway/powermock
Summary : PowerMock module for TestNG
Description :
PowerMock is a framework that extend other mock libraries
such as EasyMock with more powerful capabilities. PowerMock uses a
custom classloader and bytecode manipulation to enable mocking of
static methods, constructors, final classes and methods, private
methods, removal of static initializers and more.
This package contains the PowerMock TestNG extension.

5. The same packages on other Linux Distributions