RFP: Test::Cmd (libtest-cmd-perl) -- automated testing framework
The Perl module is in CPAN.
[tv@hq ~]$ perl -MCPAN -e shell;
cpan> i Test::Cmd
DESCRIPTION Portable test infrastructure for commands
CPAN_USERID KNIGHT (Steven Knight <email@example.com>)
DSLI_STATUS RdpO (released,developer,perl,object-oriented)
INST_FILE (not installed)
cpan> readme Test::Cmd
THE Test::Cmd MODULE
The Test::Cmd module provides a framework for portable automated testing
of executable commands and scripts (in any language, not just Perl),
especially commands and scripts that interace with the file system.
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.
The Test::Cmd module inherits File::Spec methods (file_name_is_absolute(),
catfile(), etc.) to support writing tests portably across a variety of
operating and file systems.
The Test::Cmd module may be used with the Test module to report test
results for use with the Test::Harness module. Alternatively, the
Test::Cmd module provides pass(), fail(), and no_result() methods that
report test results for use with the Aegis change management system.
It is not a good idea to intermix these two reporting models.
unix, linux, debian, networks, security, | Stay the patient course
kernel, TCP/IP, C, perl, free software, | Of little worth is your ire
mail, www, sw devel, unix admin, hacks. | The network is down
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com