Revision history for Perl extension Test::Cmd.
0.05
- White space cleanup.
- Small fixes for Perl 5.003: put quotes around hash index
strings; don't use "my" on the same line as "foreach".
- Add copyright statements to appropriate files.
0.04 Tue Feb 1 05:20:19 CST 2000
- Removed unnecessary t0001a.pl file (internal testing glue
for the change management system).
- In the run() method, add the ability to pipe input into a
command.
- Add a match() method that matches input lines one-for-one
against an equal number of of regular expressions.
- Have the run() method support 'prog' and 'interpreter' arguments,
for one-shot execution of a program.
- Remove direct exception throws (calls to $self->no_result)
by the run() and workdir() methods. Exceptions should be
handled by the test itself or a subclass specific to the
program under test.
0.03 Wed Jan 12 18:02:38 CST 2000
- Minor white space cleanup.
- Allow the write() method to take an absolute path name.
- Documentation cleanup.
- Add a read() method as a companion to write().
- Directories were still removed on fail/no result if
PRESERVE_FAIL and PRESERVE_NO_RESULT were set. Fixed.
- Where possible, use array assignment, not shift, for
method arguments.
0.02 Mon Jan 3 23:59:53 2000
- Add a string() method to arrange for printing info about
specific functionality under test upon failure or no result.
- Add a basename() method to return the basename of the
program under test (the prog() method returns the full path).
- Add a workpath() method to catfile its arguments to the
end of the temporary working directory; this pushes more
of the OS-dependent gunk into the module.
- Allow the write() method to take an array reference as a
file name argument, in which case the arguments are
concatenated using File::Spec->catfile().
- Allow the subdir() method to take a array references as
arguments, in which case the elements are concatenated
using File::Spec->catfile().
- Change the run() method to take named-keyword arguments
like $test->run(args => '1 2 3', chdir => 'sub/dir')
instead of the old positional arguments.
- Add $caller arguments to the fail() and no_result()
methods which specify how many levels back to print a
trace of the exiting line. This allows nested packages
to get back to the original caller.
0.01 Thu Nov 11 15:50:32 1999
- original version; created by h2xs 1.19