Re: Test::More SKIP block

2004-04-30 Thread Michael G Schwern
On Thu, Apr 29, 2004 at 02:01:12PM +0200, H.Merijn Brand wrote: > or can I change the plan halfway Not if you declared the number of tests, the T::H format requires that the plan be written before tests are run, but you could just use 'no_plan'. Then you can just exit() whenever and that's that.

Re: Test::More SKIP block

2004-04-29 Thread Michael G Schwern
On Thu, Apr 29, 2004 at 02:01:12PM +0200, H.Merijn Brand wrote: > Is it possible to have T::M skip the rest of the script from here on on a > certain condition? Its pretty trivial with Test::Builder. use Test::Builder; $TB = Test::Buider->new; sub skip_rest { my($why) = @_; my $nu