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

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

From:
David Cantrell
Date:
January 23, 2009 06:14
Subject:
Re: Perl 6 and Test.pm's skip() function
Message ID:
20090123141404.GH30829@bytemark.barnyard.co.uk
On Fri, Jan 23, 2009 at 01:12:22AM +0100, Aristotle Pagaltzis wrote:

> Although most of the time I find ways not to have to do that, and
> still be able to declare a plan. Data-driven tests work wonders
> for this. The rest of the time I use a variety of tricks to
> reduce the pain, such as this one:
> http://perl-qa.hexten.net/wiki/index.php/TestFAQ#How_do_I_update_the_plan_as_I_go.3F

Nice!  Ugly as hell, but nice.  Thanks!

-- 
David Cantrell | http://www.cantrell.org.uk/david

It wouldn't hurt to think like a serial killer every so often.
Purely for purposes of prevention, of course.



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