Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Skip tests if/unless $ENV{FOO} is set using Test::More

by bronto (Priest)
on Apr 30, 2003 at 09:51 UTC ( [id://254228] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Test::More tests => 18 ; #18
    
    ...
      my $base   = $ENV{TEST_BASE}   || 'ou=simple,o=test' ;
      my $binddn = $ENV{TEST_BINDDN} || 'cn=admin,o=test' ;
      my $bindpw = $ENV{TEST_BINDPW} || 'secret' ;