On Fri, Jul 20, 2001 at 01:30:39AM -0400, Michael G Schwern wrote:
> test_block {
> skip "Pigs can't fly" unless $pig->can('fly');
>
> $pig->takeoff;
> ok( $pig->altitude > 0 );
> ok( $pig->airspeed > 0 );
> } 2;
Right, so here's ho
On Fri, Jul 20, 2001 at 12:51:19AM -0400, barries wrote:
>1) skip dies, Test::Named::end() "catches" it, emits message
>2) todo_because sets a flag, is(), etc. check flag, T::N::begin clears it
Thank you, you just gave me a wonderful idea:
use Test::More tests => 2;
test
On Thu, Jul 19, 2001 at 06:04:18PM -0400, [EMAIL PROTECTED] wrote:
> On Thu, Jul 19, 2001 at 10:17:07AM -0400, barries wrote:
> > The only pain I see there is the hardcoded test numbers in both places
>
> Yes, that's just an artifact of how HiRes.t is written. It rolls its
> own test functions.
On Thu, Jul 19, 2001 at 10:17:07AM -0400, barries wrote:
> The only pain I see there is the hardcoded test numbers in both places
Yes, that's just an artifact of how HiRes.t is written. It rolls its
own test functions. Ignore that bit.
> Of course, if you're brave/knave enough to not plan or