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

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

From:
Aristotle Pagaltzis
Date:
January 22, 2009 16:12
Subject:
Re: Perl 6 and Test.pm's skip() function
Message ID:
20090123001222.GE6340@klangraum.plasmasturm.org
* Eric Wilhelm <scratchcomputing@gmail.com> [2009-01-22 18:55]:
> I'm not sure anybody *wants* a plan.

I do.

> A way to ensure that every test ran or accurate progress
> reporting, yes.

I also want to be sure that no unexpected extra tests ran.

> It seems to me that some are just willing to suffer counting
> their tests to achieve that.

I am willing to suffer counting tests in order to have my tests
counted, yes.

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

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



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