ExtUtils::MakeMaker says fror PREREQ_FATAL

         Note: see Test::Harness for a shortcut for stopping tests early if
         you are missing dependencies and are afraid that users might use
your
         module with an incomplete environment.

Unless I'm missing something, it seems that reference is long gone.  Anyone
remember what was suggested?

As I might have commented here back in April, the correct approach would be
to test for needed features that are supported in a given version of a
dependency.  But, in reality what happens is a developer needs to use some
CPAN module in our code and just looks at the version they are using for
their development and adds that to Makefile.PL. They are saying "according
to my local testing version 1.2.3 of Foo::Bar works with these changes" so
they just set a dependency on 1.2.3.

I have a custom script that runs from cron that checks out our app and then
runs Makefile.PL and make test and reports any errors to the development
team -- the idea is to catch any check ins that break existing tests and
alert the developers quickly.  So, part of that would be to report any
missing dependencies on the test environment.  Makefile.PL doesn't return
false be default for missing dependencies so that's why I looked at using
PREREQ_FATAL.

Anyone running automated testing where dependencies listed in Makefile.PL
will cause the testing to fail?





-- 
Bill Moseley
[email protected]

Reply via email to