Subject: | Not handling when a module doesn't have a $VERSION |
Test::CheckDeps is not happy when an (installed) dependency does not
have a $VERSION:
t/00-check-deps.t ........................ 1/?
# Failed test 'Missing version info for module
'Plack::Middleware::Runtime''
# at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/CheckDeps.pm
line 39.
# Failed test 'Missing version info for module
'Plack::Middleware::ErrorDocument''
# at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/CheckDeps.pm
line 39.
# Failed test 'Missing version info for module
'Plack::Middleware::Conditional''
# at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/CheckDeps.pm
line 39.
# Failed test 'Missing version info for module 'Plack::Component''
# at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/CheckDeps.pm
line 39.
# Failed test 'Missing version info for module
'Plack::Middleware::AccessLog''
# at
/home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/CheckDeps.pm
line 39.
t/00-check-deps.t ........................ 79/? Bailout called.
Further testing stopped: Missing dependencies
In this particular case, the dependencies on Plack::Component etc would
need to be replaced with their distribution, Plack - but this gets more
tricky when dependencies are added automatically - i.e. with [AutoPrereqs].
The test should presume that if there is not a dependency on a
particular version, the existence of the module is sufficient, and
should not die when $VERSION is not found.