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 use test numbers:
> 
>    use Test::More 'noplan' ;
> 
>    if ( $have_ualarm ) {
>       ...do tests...
>    }
> 
> makes for short, simple tests.

Problem there is there's no external indication that anything got
skipped. :( That and using no_plan requires you to upgrade
Test::Harness.


-- 
Michael G Schwern   <[EMAIL PROTECTED]>   http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <[EMAIL PROTECTED]>       Kwalitee Is Job One

Reply via email to