Upstream software project

perl-Test-Cmd

Perl module for portable testing of commands and scripts

About perl-Test-Cmd

Perl module for portable testing of commands and scripts

This project links 2 native package records across 2 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

openSUSE Leap 16.0: 1 package records; openSUSE Tumbleweed: 1 package records. Catalog coverage diagram, not an application screenshot.perl-Test-Cmd: recorded package coverageopenSUSE Leap 16.01 recordsopenSUSE Tumbleweed1 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
perl-Test-Cmd
Publisher
Not authoritatively mapped
Native package records
2
Operating systems
opensuse-leap-16-0, opensuse-tumbleweed
License expression
Artistic-1.0 or GPL-1.0+
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

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.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

openSUSE Leap 16.0

  1. Package perl-Test-Cmd

    leap-16.0 (openSUSE Leap 16.0) (Development/Libraries/Perl): Perl module for portable testing of commands and scripts

    1.09-160000.2.2: noarch

    Source: perl-Test-Cmd

openSUSE Tumbleweed

  1. Package perl-Test-Cmd

    tumbleweed (openSUSE Tumbleweed) (Development/Libraries/Perl): Perl module for portable testing of commands and scripts

    1.09-1.8: noarch

    Source: perl-Test-Cmd

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.