How To Install perl-TestML on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-TestML
on Rocky Linux 8.
What is perl-TestML
TestML <http meta language for writing unit tests. The idea is that you can use the same test files in multiple implementations of a given programming idea. Then you can be more certain that your application written in, say, Python matches your Perl implementation. In a nutshell you write a bunch of data tests that have inputs and expected results. Using a simple syntax, you specify what functions the data must pass through to produce the expected results. You use a bridge class to write the data functions that pass the data through your application. In Perl 5, TestML module is the evolution of the Test a superset of Test the same as Test Currently, TestML is being redesigned. This package contains the new unstable implementation. The original, production-ready, implementation is available under TestML1 name in perl-TestML1 package.
We can use yum
or dnf
to install perl-TestML
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-TestML.
Install perl-TestML on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-TestML
using dnf
by running the following command:
sudo dnf -y install perl-TestML
Install perl-TestML on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-TestML
using yum
by running the following command:
sudo yum -y install perl-TestML
How To Uninstall perl-TestML on Rocky Linux 8
To uninstall only the perl-TestML
package we can use the following command:
sudo dnf remove perl-TestML
perl-TestML Package Contents on Rocky Linux 8
/usr/share/doc/perl-TestML
/usr/share/doc/perl-TestML/Changes
/usr/share/man/man3/TestML.3pm.gz
/usr/share/perl5/vendor_perl/TestML
/usr/share/perl5/vendor_perl/TestML.pod
/usr/share/perl5/vendor_perl/TestML/Boolean.pm
/usr/share/perl5/vendor_perl/TestML/Bridge.pm
/usr/share/perl5/vendor_perl/TestML/Run
/usr/share/perl5/vendor_perl/TestML/Run.pm
/usr/share/perl5/vendor_perl/TestML/Run/TAP.pm
/usr/share/perl5/vendor_perl/TestML/StdLib.pm
References
Summary
In this tutorial we learn how to install perl-TestML
on Rocky Linux 8 using yum and dnf.