develooper Front page | perl.qa | Postings from January 2009

Re: Perl 6 and Test.pm's skip() function

From:
Ovid
Date:
January 22, 2009 11:02
Subject:
Re: Perl 6 and Test.pm's skip() function
Message ID:
347960.45704.qm@web65710.mail.ac4.yahoo.com
----- Original Message ----

> From: Eric Wilhelm <scratchcomputing@gmail.com>

> I'm not sure anybody *wants* a plan.

<snip>

Lots of people want plans.  Lots of people don't want plans.  That's
not an argument I expect anybody is going to *win* (even if they're right).

This has been argued to death.  Many times.  Over and over.  You can argue it again now, but unless there's some unusually compelling point which makes the Perl-QA community collectively slap their foreheads and say "duh!  Why have we overlooked this for so many years?", then I'm not going to argue the point. Of course, you might just have that compelling point we've all missed (and given that testing in Perl is still in its infancy in many ways, I wouldn't be at all surprised if you do).

In short, if someone doesn't want a plan, just use 'no_plan' or Test::Most's &all_done function :)

Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6




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