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

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

From:
Rafael Garcia-Suarez
Date:
August 28, 2001 01:23
Subject:
Re: [PATCH pod/perlhack.pod t/op/pack.t] Fixing bad testing advice
Message ID:
20010828102927.A7912@rafael
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.
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.

-- 
Rafael Garcia-Suarez



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