Acme-MetaSyntactic-daleks
view release on metacpan or search on metacpan
t/ams-90up2date.t view on Meta::CPAN
# this test must be explicitely requested
skip "Set AMS_REMOTE environment variable to true to test up-to-dateness",
$tests
unless $ENV{AMS_REMOTE};
# need LWP
eval { require LWP::Simple; };
skip "LWP::Simple required for testing up-to-dateness", $tests if $@;
# need the network too
skip "Network looks down - couldn't reach Google", $tests
unless LWP::Simple::get( 'http://www.google.com/intl/en/' );
# need Test::Differences
eval { require Test::Differences; };
my $has_test_diff = $@ eq '';
# a little warning
diag "Testing @{[scalar @themes]} themes using the network (may take a while)";
# compare each theme data with the network
( run in 3.268 seconds using v1.01-cache-2.11-cpan-5837b0d9d2c )