Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Toggling test plans with vim

by adrianh (Chancellor)
on Aug 10, 2006 at 08:04 UTC ( [id://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>

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-28 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found