Acme-Test-Weather reviews

cpanratings
 

RSS | Module Info | Add a review of Acme-Test-Weather

Acme-Test-Weather (0.2) *

This comical module allows you to add some unpredictability to your regression tests. For example, if you want your tests to fail on rainy days, you would add the following to your test.pl or t/*.t file:

SKIP: {

eval { require Acme::Test::Weather; };

skip("can't determine the current weather", 1) if ($@);

isnt_rainy();

}

This module looks very easy to use and the code is obvious and well-documented. Like many of its Acme siblings, this module makes good reuse of other CPAN code.

Unfortunately, it doesn't install properly because it has a dependency that no longer exists on CPAN, CAIDA::NetGeoClient. I recommend to the author that it be updated to use Geo::IP instead. If that is done, I will happily give this module 5 stars.