How To Install testng.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install testng.noarch
on Amazon Linux 2.
What is testng.noarch
TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionality, including flexible test configuration, and distributed test running. It is designed to cover unit tests as well as functional, end-to-end, integration, etc.
We can use yum
to install testng.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install testng.noarch.
Install testng.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install testng.noarch
using yum
by running the following command:
sudo yum -y install testng.noarch
How To Uninstall testng.noarch on Amazon Linux 2
To uninstall only the testng.noarch
package we can use the following command:
sudo yum remove testng.noarch
testng.noarch Package Contents on Amazon Linux 2
/usr/share/doc/testng-6.8.7
/usr/share/doc/testng-6.8.7/ANNOUNCEMENT.txt
/usr/share/doc/testng-6.8.7/CHANGES.txt
/usr/share/doc/testng-6.8.7/LICENSE.txt
/usr/share/doc/testng-6.8.7/README
/usr/share/java/testng.jar
/usr/share/maven-effective-poms/JPP-testng.pom
/usr/share/maven-fragments/testng.xml
/usr/share/maven-poms/JPP-testng.pom
References
Summary
In this tutorial we learn how to install testng.noarch
on Amazon Linux 2 using yum.