Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Test-Cmd | Distribution: openSUSE Tumbleweed |
Version: 1.09 | Vendor: openSUSE |
Release: 1.3 | Build date: Wed Oct 28 11:23:14 2015 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 108531 | Source RPM: perl-Test-Cmd-1.09-1.3.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/Test-Cmd/ | |
Summary: Perl module for portable testing of commands and scripts |
The 'Test::Cmd' module provides a low-level framework for portable automated testing of executable commands and scripts (in any language, not just Perl), especially commands and scripts that interact with the file system. The 'Test::Cmd' module makes no assumptions about what constitutes a successful or failed test. Attempting to read a file that doesn't exist, for example, may or may not be an error, depending on the software being tested. Consequently, no 'Test::Cmd' methods (including the 'new()' method) exit, die or throw any other sorts of exceptions (but they all do return useful error indications). Exceptions or other error status should be handled by a higher layer: a subclass of the Test::Cmd manpage, or another testing framework such as the the Test manpage or the Test::Simple manpage Perl modules, or by the test itself. (That said, see the the Test::Cmd::Common manpage module if you want a similar module that provides exception handling, either to use directly in your own tests, or as an example of how to use 'Test::Cmd'.) In addition to running tests and evaluating conditions, the 'Test::Cmd' module manages and cleans up one or more temporary workspace directories, and provides methods for creating files and directories in those workspace directories from in-line data (that is, here-documents), allowing tests to be completely self-contained. When used in conjunction with another testing framework, the 'Test::Cmd' module can function as a _fixture_ (common startup code for multiple tests) for simple management of command execution and temporary workspaces. The 'Test::Cmd' module inherits the File::Spec manpage methods ('file_name_is_absolute()', 'catfile()', etc.) to support writing tests portably across a variety of operating and file systems. A 'Test::Cmd' environment object is created via the usual invocation: $test = Test::Cmd->new(); Arguments to the 'Test::Cmd::new' method are keyword-value pairs that may be used to initialize the object, typically by invoking the same-named method as the keyword.
Artistic-1.0 or GPL-1.0+
* Wed Oct 28 2015 coolo@suse.com - updated to 1.09 see /usr/share/doc/packages/perl-Test-Cmd/Changes 1.09 2015-10-25 NEILB - README updated with current location of Aegis project. Thanks to @SparkeyG for the pull request - Updated github repo URL after changing my github username - Switched to Dist::Zilla * Tue Apr 14 2015 coolo@suse.com - updated to 1.08 see /usr/share/doc/packages/perl-Test-Cmd/Changes 1.08 2015-01-25 NEILB - Documentation improvements from JMATES++. 1.07 2015-01-07 NEILB - Linkify external module references. JMATES++ - Added Test::Pod as a release test. JMATES++ * Mon Apr 21 2014 mardnh@gmx.de - update to version 1.06 * Mon Oct 10 2011 coolo@suse.com - initial package 1.05 * created by cpanspec 1.78.06
/usr/lib/perl5/vendor_perl/5.40.0/Test /usr/lib/perl5/vendor_perl/5.40.0/Test/Cmd /usr/lib/perl5/vendor_perl/5.40.0/Test/Cmd.pm /usr/lib/perl5/vendor_perl/5.40.0/Test/Cmd/Common.pm /usr/share/doc/packages/perl-Test-Cmd /usr/share/doc/packages/perl-Test-Cmd/Changes /usr/share/doc/packages/perl-Test-Cmd/LICENSE /usr/share/doc/packages/perl-Test-Cmd/README /usr/share/man/man3/Test::Cmd.3pm.gz /usr/share/man/man3/Test::Cmd::Common.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Jan 12 00:30:25 2025