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 06:44
Subject:
Re: [PATCH pod/perlhack.pod t/op/pack.t] Fixing bad testing advice
Message ID:
20010828094435.D17775@blackrider
On Tue, Aug 28, 2001 at 02:30:19PM +0100, Paul Marquess wrote:
> In my modules I use an ok sub, but I tell it the test number
> 
>     ok 23, $sometest eq $something ;
> 
> I use a script to automatically renumber them when I add or delete tests.

I'm continually amazed at the elaborate solutions people come up with
for the simplest testing problems.

Sorry, this isn't directed at anyone in particular, I've just seen so
many people layed low by the simple problem of dealing with test
numbering.

-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@perl.org>	     Kwalitee Is Job One
Death follows me like a wee followey thing.
	-- Quakeman



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