Test::Net::Connect

Test::Net::Connect is a Perl module with Test::Builder based tests for network connectivity.
Download

Test::Net::Connect Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Other/Proprietary Li...
  • Price:
  • FREE
  • Publisher Name:
  • Nik Clayton
  • Publisher web site:
  • http://search.cpan.org/~nikc/Test-Net-Connect-0.03/lib/Test/Net/Connect.pm

Test::Net::Connect Tags


Test::Net::Connect Description

Test::Net::Connect is a Perl module with Test::Builder based tests for network connectivity. Test::Net::Connect is a Perl module with Test::Builder based tests for network connectivity.SYNOPSIS use Test::Net::Connect tests => 3; connect_ok({ host => 'smtp.example.com', port => 25, proto => 'tcp' }, 'Check tcp://smtp.example.com:25'); # proto defaults to 'tcp', the test name can be omitted, and the # port can be appended to the host name connect_ok({ host => 'smtp.example.com:25' }); connect_not_ok({ host => 'localhost:23' }, 'Telnet connections should not be accepted locally');Test::Net::Connect automatically exports connect_ok() and connect_not_ok() to make it easier to test whether or not a network connection can be made from this host to a port on another host using TCP or UDP.Test::Net::Connect uses Test::Builder, so plays nicely with Test::Simple, Test::More, and other Test::Builder based modules. Requirements: · Perl


Test::Net::Connect Related Software