This queue is for tickets about the HTTP-Cache-Transparent CPAN distribution.

Report information
The Basics
Id:
123611
Status:
new
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
SREZIC [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
1.4
Fixed in:
(no value)



Subject: Undeclared dependency Test::RequiresInternet
Test suite fails if Test::RequiresInternet. See also: <http://analysis.cpantesters.org/solved?distv=HTTP-Cache-Transparent-1.4#qr%3A%28Can%27t%20locate%20%5CS%2Bpm%29> Probably the dependency should be declared (using test_requires?), or the test should do a check first if Test::RequiresInternet is available, e.g. like this (untested): use Test::More; BEGIN { if (!eval { require Test::RequiresInternet; 1 }) { plan skip_all => 'Test::RequiresInternet is not installed'; } } use Test::RequiresInternet ...
On 2017-11-12 13:26:17, SREZIC wrote:
Show quoted text
> Test suite fails if Test::RequiresInternet. See also: > <http://analysis.cpantesters.org/solved?distv=HTTP-Cache-Transparent- > 1.4#qr%3A%28Can%27t%20locate%20%5CS%2Bpm%29> > > Probably the dependency should be declared (using test_requires?), or > the test should do a check first if Test::RequiresInternet is > available, e.g. like this (untested): > > use Test::More; > BEGIN { > if (!eval { require Test::RequiresInternet; 1 }) { > plan skip_all => 'Test::RequiresInternet is not installed'; > } > } > use Test::RequiresInternet ...
CPAN.pm users may use the following distroprefs file, defining the missing dependency: https://github.com/eserte/srezic-cpan-distroprefs/blob/master/HTTP-Cache-Transparent.yml


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.