develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH pod/perlhack.pod t/op/pack.t] Fixing bad testing advice

From:
Michael G Schwern
Date:
August 28, 2001 02:08
Subject:
Re: [PATCH pod/perlhack.pod t/op/pack.t] Fixing bad testing advice
Message ID:
20010828050821.C18398@blackrider
On Tue, Aug 28, 2001 at 10:29:27AM +0200, Rafael Garcia-Suarez wrote:
> Michael G Schwern noticed:
> > Ah HA!  I've been wondering why nobody ever thinks to write a simple
> > ok() function for their tests!  perlhack has bad testing advice.
> 
> Also t/README says :
> 	To add new tests, just look at the current tests and do likewise.
>
> That's a bit short.

Hmmm.  I'll see what I can do.


> The whole process of writing and integrating tests is not very documented;
> it is not clear for a beginner (as I am) how tests are organized and run
> (esp. those in t/lib/*). Perhaps some pointers would be enough.

That's explained in bleadperl's perlhack as well.

-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@perl.org>	     Kwalitee Is Job One
Jesus hates me.
	http://www.unamerican.com/



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About