metacpan / MetaCPAN-Client

Home of the official MetaCPAN Perl API client.
21 stars 23 forks source link

Test::Requires required modules cause a BAIL_OUT #26

Closed xsawyerx closed 9 years ago

xsawyerx commented 9 years ago

Apparently when the modules aren't available, it just causes a BAIL_OUT. Example:

t/ua_trap.t ............... Bailout called.  Further testing stopped:  Test requires module 'WWW::Mechanize::Cached' but it's not found
FAILED--Further testing stopped: Test requires module 'WWW::Mechanize::Cached' but it's not found

It doesn't skip. :(

haarg commented 9 years ago

Test::Requires will trigger a bailout on missing modules if RELEASE_TESTING is set. For normal users, it will skip properly.

xsawyerx commented 9 years ago

D'oh.

Thanks :)