How to Install and Uninstall perl-Test-Directory Package on openSUSE Leap
Last updated: January 12,2025
1. Install "perl-Test-Directory" package
Please follow the step by step instructions below to install perl-Test-Directory on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-Test-Directory
Copied
2. Uninstall "perl-Test-Directory" package
In this section, we are going to explain the necessary steps to uninstall perl-Test-Directory on openSUSE Leap:
$
sudo zypper remove
perl-Test-Directory
Copied
3. Information about the perl-Test-Directory package on openSUSE Leap
Information for package perl-Test-Directory:
--------------------------------------------
Repository : Main Repository
Name : perl-Test-Directory
Version : 0.051-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 18.1 KiB
Installed : No
Status : not installed
Source package : perl-Test-Directory-0.051-bp155.2.10.src
Upstream URL : https://metacpan.org/release/Test-Directory
Summary : Perl extension for maintaining test directories
Description :
Testing code can involve making sure that files are created and deleted as
expected. Doing this manually can be error prone, as it's easy to forget a
file, or miss that some unexpected file was added. This module simplifies
maintaining test directories by tracking their status as they are modified
or tested with this API, making it simple to test both individual files, as
well as to verify that there are no missing or unknown files.
The idea is to use this API to create a temporary directory and populate an
initial set of files. Then, whenever something in the directory is changes,
use the test methods to verify that the change happened as expected. At any
time, it is simple to verify that the contents of the directory are exactly
as expected.
Test::Directory implements an object-oriented interface for managing test
directories. It tracks which files it knows about (by creating or testing
them via its API), and can report if any files were missing or unexpectedly
added.
There are two flavors of methods for interacting with the directory.
_Utility_ methods simply return a value (i.e. the number of files/errors)
with no output, while the _Test_ functions use Test::Builder to produce the
approriate test results and diagnostics for the test harness.
The directory will be automatically cleaned up when the object goes out of
scope; see the _clean_ method below for details.
--------------------------------------------
Repository : Main Repository
Name : perl-Test-Directory
Version : 0.051-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 18.1 KiB
Installed : No
Status : not installed
Source package : perl-Test-Directory-0.051-bp155.2.10.src
Upstream URL : https://metacpan.org/release/Test-Directory
Summary : Perl extension for maintaining test directories
Description :
Testing code can involve making sure that files are created and deleted as
expected. Doing this manually can be error prone, as it's easy to forget a
file, or miss that some unexpected file was added. This module simplifies
maintaining test directories by tracking their status as they are modified
or tested with this API, making it simple to test both individual files, as
well as to verify that there are no missing or unknown files.
The idea is to use this API to create a temporary directory and populate an
initial set of files. Then, whenever something in the directory is changes,
use the test methods to verify that the change happened as expected. At any
time, it is simple to verify that the contents of the directory are exactly
as expected.
Test::Directory implements an object-oriented interface for managing test
directories. It tracks which files it knows about (by creating or testing
them via its API), and can report if any files were missing or unexpectedly
added.
There are two flavors of methods for interacting with the directory.
_Utility_ methods simply return a value (i.e. the number of files/errors)
with no output, while the _Test_ functions use Test::Builder to produce the
approriate test results and diagnostics for the test harness.
The directory will be automatically cleaned up when the object goes out of
scope; see the _clean_ method below for details.