p5-Test-Command-0.11_1.txz


Advertisement

Description

p5-Test-Command - Test routines for external commands

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package filename p5-Test-Command-0.11_1.txz
Package name p5-Test-Command
Package version 0.11
Package release 1
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Test-Command
License GPLv1+, ART10
Maintainer sunpoet@FreeBSD.org
Download size 13.71 KB
Installed size 38.57 KB
Test::Command intends to bridge the gap between the well tested functions and
objects you choose and their usage in your programs. By examining the exit
status, terminating signal, STDOUT and STDERR of your program you can determine
if it is behaving as expected.
This includes testing the various combinations and permutations of options and
arguments as well as the interactions between the various functions and objects
that make up your program.
The various test functions below can accept either a command string or an array
reference for the first argument. If the command is expressed as a string it is
passed to system as is. If the command is expressed as an array reference it is
dereferenced and passed to system as a list.
The final argument for the test functions, $name, is optional. By default the
$name is a concatenation of the test function name, the command string and the
expected value. This construction is generally sufficient for identifying a
failing test, but you may always specify your own $name if desired.
Any of the test functions can be used as instance methods on a Test::Command
object. This is done by dropping the initial $cmd argument and instead using
arrow notation.
WWW: https://metacpan.org/release/Test-Command

Alternatives

Package Version Architecture Repository
p5-Test-Command-0.11_1.txz 0.11 i386 FreeBSD Ports Quarterly
p5-Test-Command-0.11_1.txz 0.11 amd64 FreeBSD Ports Quarterly
p5-Test-Command-0.11_1.txz 0.11 i386 FreeBSD Ports Latest
p5-Test-Command - - -

Requires

Name Value
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Test-Command-0.11_1.txz
Source Package devel/p5-Test-Command

Install Howto

Install p5-Test-Command txz package:

# pkg install p5-Test-Command

See Also

Package Description
p5-Test-Command-Simple-0.05.txz Test external commands (nearly) as easily as loaded modules
p5-Test-Compile-2.2.2.txz Check whether Perl module files compile correctly
p5-Test-Corpus-Audio-MPD-1.120990_1.txz Automate launching of fake mdp for testing purposes
p5-Test-Cukes-0.10_1.txz BBD test tool inspired by Cucumber
p5-Test-DBIx-Class-0.52.txz Easier test cases for your DBIx::Class applications
p5-Test-Data-1.242.txz Test functions for particular variable types
p5-Test-Database-1.113_1.txz Database handles ready for testing
p5-Test-DatabaseRow-2.04.txz Simple database tests
p5-Test-Debugger-0.14_1.txz Create Test Scripts which Generate Log Files
p5-Test-Declare-0.06_1.txz Perl extension for declarative testing
p5-Test-Deep-1.128.txz Test data structures for differences deeply
p5-Test-Deep-UnorderedPairs-0.006.txz Plugin for Test::Deep to compare unordered lists of tuples
p5-Test-Dependencies-0.24.txz Ensure that your Makefile.PL specifies all module dependencies
p5-Test-DependentModules-0.27.txz Test all modules which depend on your module
p5-Test-Differences-0.650,1.txz Test::Differences - Test strings and data structures for differences
Advertisement
Advertisement