Subject: | test prereqs are listed as build |
in META.json, test prereqs should be listed in the 'test' category, not 'build'. TEST_REQUIRES has been supported in ExtUtils::MakeMaker since version 6.64.
You could put this into Makefile.PL to support older versions as well:
my $eumm_version = eval $ExtUtils::MakeMaker::VERSION;
$WriteMakefileArgs{BUILD_REQUIRES} = {
%{$WriteMakefileArgs{BUILD_REQUIRES} || {}},
%{delete $WriteMakefileArgs{TEST_REQUIRES}}
} if $eumm_version < 6.63_03;