PackageDescription | This Dist::Zilla plugin adds a _t/00-report-prereqs.t_ test file and an
accompanying _t/00-report-prereqs.dd_ data file. It reports the version of
all modules listed in the distribution metadata prerequisites (including
'recommends', 'suggests', etc.). However, any 'develop' prereqs are not
reported (unless they show up in another category).
If a _MYMETA.json_ file exists and CPAN::Meta is installed on the testing
machine, _MYMETA.json_ will be examined for prerequisites in addition, as
it would include any dynamic prerequisites not set in the distribution
metadata.
Versions are reported based on the result of 'parse_version' from
ExtUtils::MakeMaker, which means prerequisite modules are not actually
loaded (which avoids various edge cases with certain modules). Parse errors
are reported as "undef". If a module is not installed, "missing" is
reported instead of a version string.
Additionally, if CPAN::Meta is installed, unfulfilled required
prerequisites are reported after the list of all versions based on either
_MYMETA_ (preferably) or _META_ (fallback). |