Net::LDAP::Server::TestTest Net::LDAP code | |
Download |
Net::LDAP::Server::Test Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Peter Karman
- Publisher web site:
- http://search.cpan.org/~karman/
Net::LDAP::Server::Test Tags
Net::LDAP::Server::Test Description
Net::LDAP::Server::Test is a Perl module that allows you to test your Net::LDAP code without having a real LDAP server available.SYNOPSIS use Test::More tests => 10; use Net::LDAP::Server::Test; ok( my $server = Net::LDAP::Server::Test->new(8080), "test LDAP server spawned"); # connect to port 8080 with your Net::LDAP code. ok(my $ldap = Net::LDAP->new( 'localhost', port => 8080 ), "new LDAP connection" ); # ... test stuff with $ldap ... # server will exit when you call final LDAP unbind(). ok($ldap->unbind(), "LDAP server unbound");Product's homepage
Net::LDAP::Server::Test Related Software