perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@redhotpenguin.com>
Subject Re: [patch] https://rt.cpan.org/Ticket/Display.html?id=32993
Date Sat, 17 Apr 2010 21:35:44 GMT
On Sat, Apr 17, 2010 at 2:27 PM, Philip M. Gollucci
<pgollucci@p6m7g8.com> wrote:
> On 4/17/2010 5:24 PM, Fred Moyer wrote:
>> One other issue occurred to me; TAP::Harness will now be a dependency.
>>
>> What are people's thoughts on that?  TAP::Harness is included in 5.12,
>> but not 5.10.  Test::Harness is bundled with earlier versions of perl.
>>  We use Test::Harness extensively in Apache::Test, so this would be
>> switching part of Apache::Test but not all of it.
> Which occured to me as well.  Why did you choose TAP here ?
> I'd say we need to stick with Test::Harness for a good bit.
>
> If we did switch, we should probably do it all at once.

>From what I can tell, TAP::Harness is geared towards any program that
outputs TAP, where Test::Harness is specifically for perl test
programs.

Test::Harness also appears to be the 'old school' way of running
tests, where TAP::Harness is the new hotness.  TAP::Harness is part of
the latest Test::Harness distribution.

So we don't need any additional dependencies, we just need to require
Test::Harness 3.x.

Or check for the version of Test::Harness in this patch for the PHP
harness and die if it isn't there.  I like this option the best - it
gives the feature to those with Test::Harness 3.x while preserving
compatibility.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message