"TAPlug"s for TAP::Harness

David Golden xdaveg at gmail.com
Thu Jun 11 13:39:48 GMT 2009


On Thu, Jun 11, 2009 at 8:42 AM, Nicholas Clark<nick at ccl4.org> wrote:
>> The problem continues to be that "everyone" would need to have
>> TAP::Harness and an upgraded toolchain that is TAP::Harness aware.  So
>> until configure_requires is widespread, I think you're stuck
>> supporting the legacy interface.
>
> Why? This is "test_requires", isn't it, rather than "configure_requires",
> so surely a regular dependency on TAP::Harness $whatever in a Makefile.PL
> would be good enough?

If one needs a TAP::Harness aware EU::MM (or an M::B that makes
TAP::Harness the default), then they need configure_requires.

> The problem there is that prerequisites needed for testing, however specified,
> need to be installed, and Perl 5 doesn't support the installation of multiple
> versions in parallel, hence there's no way have another module available only
> on a temporary basis for the duration of testing.

Of course there is.  When CPAN.pm is configured not to install
build_requires dependencies, the appropriate blib entries of those
modules are added to PERL5LIB, which will take precedence over
installed modules.

-- David


More information about the tapx-dev mailing list