Download List

Project Description

Test::Cmd provides a framework for portable, automated testing of executable commands and scripts (in any language, not just Perl), especially those that interact with the file system. In addition to running tests and evaluating conditions, the Test::Cmd module manages and cleans up temporary workspace directories, and provides methods for creating files and directories from in-line data (here-documents).

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2001-09-07 12:48
1.05

Test::Cmd::Common module and a wrapper subclass was added to handle common exceptions. Explicit examples of using Test::Cmd with Test::Harness, Test::Unit, and on its own were added to the documentation. Minor fixes to some routines for handling absolute-path end cases were added.
Tags: Major feature enhancements

2001-06-17 03:10
1.04

The run() method has been fixed so that it can be
used to execute a subsidiary executable or script
that's not in the same interpreted language as the
script being tested.
Tags: Minor bugfixes

2001-06-12 12:10
1.03

Fixes for a bug that only allowed an interpreter to be specified for the run() method if a program was specified, and for a bug that prevented workdir() from returning the absolute path name of a working directory specified as a relative path.
Tags: Minor bugfixes

2001-05-31 00:55
1.02

New diff_exact() and diff_regex() methods that return diff(1)-like output when file contents don't match what's expected, and fixes for backwards compatibility with Perl 5.003 and for $TMPDIR specifications that don't match what Cwd::cwd() returns (due to symbolic links or missing WIN32 drive letters).
Tags: Minor feature enhancements

2001-01-30 15:14
1.01

Separate methods were created to match results against exact text or regular expressions. The match method was changed so that it now calls a registered subroutine, which can be user-supplied or one of the underlying match methods. The default, for backwards compatibility, is the regular expression match.

Project Resources