Nathan Cutler

NAME

App::CELL::Test - functions for unit testing

VERSION

Version 0.070

SYNOPSIS

    use App::CELL::Test;

#use Exporter qw( import ); #our @EXPORT_OK = qw( log_debug log_info );

DESCRIPTION

The App::CELL::Test module provides a number of special-purpose functions for use in CELL's test suite.

CONSTANTS

FUNCTIONS

mktmpdir

First wipes, and then creates, the 'CELLtest' directory in /tmp and returns the path to this directory or "undef" on failure.

touch_files

"Touch" some files. Takes: directory path and list of files to "touch" in that directory. Returns number of files successfully touched.

cmp_arrays

Compare two arrays of unique elements, order doesn't matter. Takes: two array references Returns: true (they have the same elements) or false (they differ).