Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

On when to test

by petdance (Parson)
on Mar 31, 2012 at 17:40 UTC ( #962781=perlmeditation: print w/ replies, xml ) Need Help??

The only time you need to test your code is if you care that it works correctly.

xoxo,
Andy

Comment on On when to test
Re: On when to test
by tobyink (Abbot) on Mar 31, 2012 at 21:37 UTC

    What if you care that it works incorrectly?

    The following Perl one liner tests to make sure that your test suite is failing...

    perl -MTAP::Harness -E'say for "1..1", TAP::Harness->new({verbosity=>- +3,lib=>["lib"]})->runtests(<t/*.t>)->all_passed?"not ok 1":"ok 1"'
    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://962781]
Approved by planetscape
Front-paged by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-09-17 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (72 votes), past polls