Skip Menu |

This queue is for tickets about the MooseX-Role-Parameterized CPAN distribution.

Report information
The Basics
Id: 48844
Status: resolved
Priority: 0/
Queue: MooseX-Role-Parameterized

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



MooseX-Role-Parameterized should include Test::Moose as a test_requires. While Test::Moose is indeed bundled with Moose, some distributions (e.g. Fedora) split test modules out into distinct sub-packages to reduce the number of dependencies installed for those simply wanting to run a program that needs the module, rather than test/develop Perl. As such, Test::Moose is in its own subpackage and a dependency on Moose does not cause it to be installed as well. Adding Test::Moose as a test_requires will make it easier for automated packaging / build tools to package (and update!) this module. Thanks! :)
Hi Chris, You've asked for this before and I added it in a recent release. Test::Moose is listed as a build_requires. If that is insufficient, I recommend reporting a bug against Module::Install (or perhaps even ExtUtils::MakeMaker) to make test_requires actually set a test_requires field in META.yml. Is it really worth the headaches to split up test modules and regular modules like Fedora does? Shawn