ap / DBIx-Connector

Fast, safe DBI connection and transaction management
https://metacpan.org/release/DBIx-Connector
40 stars 14 forks source link

Fix test_requires prereqs #46

Closed Grinnz closed 2 years ago

Grinnz commented 6 years ago

Test prerequisites should not be declared in the build phase wherever possible, so they don't need to be installed unless tests will be run. Module::Build supports test_requires from 0.4004. The configure_requires prerequisite is sufficient to install a new enough Module::Build where configure prereqs are honored; build_requires is too late to install a new enough one on older toolchains anyway.