Re: Network connection
[email protected] (Adam Kennedy) Wed, 15 Nov 2017 05:29:56 +0000
| Newsgroups | perl.cpan.workers |
|---|---|
| Message-ID | <CAAVyNAzS9GXdxyOXPZz5DgfV9JHvWq82UjMMhECP8OAewww-1A@mail.gmail.com> |
--001a114bea60e159ae055dfecb14 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have fragments and variations of this stuff tucked away in old code I=E2= =80=99m 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 <[email protected]> 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 > --001a114bea60e159ae055dfecb14 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div><div dir=3D"auto">I have fragments and variations of this stuff tucked= away in old code I=E2=80=99m sure.</div><div dir=3D"auto"><br></div><div d= ir=3D"auto">Look at LWP::Online and Test::NeedsDisplay, and I may have done= similar things in the test suites for ORDB::*</div><div dir=3D"auto"><br><= /div><div dir=3D"auto">Adam=C2=A0</div><br><div class=3D"gmail_quote"><div>= On Sun, 12 Nov 2017 at 7:00 am, James E Keenan <<a href=3D"mailto:jkeena= [email protected]">[email protected]</a>> wrote:<br></div><blockquote class=3D= "gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding= -left:1ex">Is there any code which is considered "best practice" = for "skip_all<br> unless I have an Internet connection"?<br> <br> For the first time I want to write a library whose tests will benefit<br> from connection to an FTP server.=C2=A0 If there is some code that I could<= br> just drop in for situations where the test suite is run offline, that<br> would be helpful.<br> <br> Thank you very much.<br> Jim Keenan<br> </blockquote></div></div> --001a114bea60e159ae055dfecb14--