Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Test-Directory-0.051-bp154.1.21 RPM for noarch

From OpenSuSE Leap 15.4 for noarch

Name: perl-Test-Directory Distribution: SUSE Linux Enterprise 15 SP4
Version: 0.051 Vendor: openSUSE
Release: bp154.1.21 Build date: Mon May 9 11:07:59 2022
Group: Development/Libraries/Perl Build host: sheep88
Size: 18489 Source RPM: perl-Test-Directory-0.051-bp154.1.21.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/Test-Directory
Summary: Perl extension for maintaining test directories
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.

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Thu Sep 26 2019 <timueller+perl@suse.de>
  - updated to 0.051
    see /usr/share/doc/packages/perl-Test-Directory/Changes
    0.05  2019-09-21
    - fix merge issues that prevented some features from being released
    - add overloaded {} operator
    0.05.1 2019-09-24
    - rm overloaded {} operator, doesn't seem to work anymore
* Tue Oct 09 2018 Dirk Stoecker <opensuse@dstoecker.de>
  - Created

Files

/usr/lib/perl5/vendor_perl/5.26.1/Test
/usr/lib/perl5/vendor_perl/5.26.1/Test/Directory.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Test-Directory
/usr/share/doc/packages/perl-Test-Directory/Changes
/usr/share/doc/packages/perl-Test-Directory/README
/usr/share/man/man3/Test::Directory.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 17:06:41 2024