On Thu, 20 Sep 2001, Michael G Schwern wrote:
> On Thu, Sep 20, 2001 at 04:35:04PM -0700, Zach Lipton wrote:
> > I don't know why this didn't occur to me before, but why not put this in a
> > Wiki?
>
> That's a great idea! And by some shocking coincidence, we just happen
> to have a perl-qa Wiki for you to add this to. :)
>
> http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi
>
>
> > Also, how does one test Net::Ping when we can't guarantee a server to ping?
>
> We can't. Not unless we can persuade Jarkko to add a "Do you have a
> working network connection?" Configure question.
>
> But we can check that all the methods are there, that ping failure
> works gracefully (there's a class of guaranteed bogus IPs, I think)
> and that the timeouts work.
>
How about testing on 127.0.0.1?
> And, we *can* write tests that test pinging if there is a network
> connection. And they can go into the CPAN module and be skipped in
> the core.
>
>
> --
>
> Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/
> Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
> I'm going to have to hurt you on principle.
>
/Lars
Perl developer
www.kultunaut.dk