Skip Menu |

This queue is for tickets about the App-cpantimes CPAN distribution.

Report information
The Basics
Id: 82259
Status: stalled
Priority: 0/
Queue: App-cpantimes

People
Owner: perl [...] toby.ink
Requestors: ether [...] cpan.org
Cc:
AdminCc:

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



Subject: feature request: report optional prereqs also
It would be extremely helpful to list the optional and recommended prereqs (as listed in the metadata), as well as the required ones, with failed test reports. Optional deps may be used in Test::Requires/eval/try_load_class blocks and their status can be relevant to deciphering a report.
This seems like a useful idea but I'm going to hold off on it for now. Right now App::cpantimes::script doesn't make any attempts of its own to determine version numbers of installed modules - it just relies on the work that App::cpanminus::script has already done. And cpanminus has no need to check optional dependencies. In the mean time, a workaround is to use "diag" in one of your test cases to spit out a list of the module versions you are interested in. Dist::Zilla::Plugin::ReportVersions::Tiny is one approach at automating this technique.