I have fragments and variations of this stuff tucked away in old code I’m
sure.

Look at LWP::Online and Test::NeedsDisplay, and I may have done similar
things in the test suites for ORDB::*

Adam

On Sun, 12 Nov 2017 at 7:00 am, James E Keenan <jkee...@pobox.com> wrote:

> Is there any code which is considered "best practice" for "skip_all
> unless I have an Internet connection"?
>
> For the first time I want to write a library whose tests will benefit
> from connection to an FTP server.  If there is some code that I could
> just drop in for situations where the test suite is run offline, that
> would be helpful.
>
> Thank you very much.
> Jim Keenan
>

Reply via email to