jasoncollins has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to setup a test suite in perl, and I was hoping some one can help me with the overall design/setup of a test suite/testharness in perl:
I am using h2xs to generate a template for modules and test scripts, and using Test::More for testharness. The directory structure generated by h2xs, after some of my modifications is as follows:
$ ls -Ra Perf/ Perf/: . .. MANIFEST Makefile.PL README lib t Perf/lib: . .. Perf.pm Perf/t: . .. Controller_perf.t perf1.pl perf2.pl
$test1Result = system('\t\perf1.pl');
$test2Result = system('\t\perf2.pl');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Setting up a test suite in perl
by chromatic (Archbishop) on Nov 09, 2009 at 09:26 UTC | |
by jasoncollins (Novice) on Nov 10, 2009 at 04:44 UTC | |
|
Re: Setting up a test suite in perl
by Bloodnok (Vicar) on Nov 09, 2009 at 09:48 UTC | |
by jasoncollins (Novice) on Nov 10, 2009 at 04:49 UTC |