XP, testing and perl

2001-01-24 Thread Greg Cope

Dear All

All the posts about XP and a Slashdot article about it got me thinking
and I have a generic question for the virtual floor.

Does Anyone know of any good perl test tutorials - i.e how to make
various test suites for a perl modules "make test" target ?

I've seen the Test::Harness stuff - but am after a guide - or a few
simple examples.  All the code I read in CPAN modules t/ dir appears to
be written in any old fasion.

Clues please, otherwise I'll continue to add to the t/ dir code pool in
any old way.. ;-)

Greg



Re: XP, testing and perl

2001-01-24 Thread Philip Newton

Greg Cope wrote:
 Does Anyone know of any good perl test tutorials - i.e how to make
 various test suites for a perl modules "make test" target ?
 
 I've seen the Test::Harness stuff - but am after a guide - or a few
 simple examples.  All the code I read in CPAN modules t/ dir 
 appears to be written in any old fasion.

Well, there's the Test module, which is supposed to help you write tests,
specifically, tests that will be run under Test::Harness later.

Besides that, I don't know of any good documentation for testing. Maybe some
enterprising soul with too much time on his hands could write some (hint,
hint). "Patches welcome" :-)

You could also try talking to Schwern ([EMAIL PROTECTED]), who's the Perl6
"Kwalitee Ashurance" guy and is also working a bit on Perl5 QA.

Cheers,
Phillip