Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Toggling test plans with vim

by adrianh (Chancellor)
on Aug 10, 2006 at 08:04 UTC ( #566572=note: print w/ replies, xml ) Need Help??


in reply to Re: Toggling test plans with vim
in thread Toggling test plans with vim

<bias class="author">

If you do this sort of thing you might be interested in Test::Block where your example would be written as:

use Test::More 'no_plan'; use Test::Block qw( $Plan ); { local $Plan = 1; # carry out one test } { local $Plan = 3; # carry out our 3 tests }

</bias>


Comment on Re^2: Toggling test plans with vim
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://566572]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2015-04-27 05:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (495 votes), past polls