Re: Customizing Your Test Modules

2007-03-09 Thread Michael G Schwern
Ovid wrote: > @EXPORT = ( > @Test::More::EXPORT, > @Test::Differences::EXPORT, > @Test::Exception::EXPORT, > ); Don't forget @EXPORT_OK

Re: Customizing Your Test Modules

2007-03-08 Thread Christopher H. Laco
Ovid wrote: > Also at http://use.perl.org/~Ovid/journal/32614 > > I get tired of writing this all the time: > > #!/usr/bin/perl > > use Test::More tests => 23; > use Test::Exception; > use Test::Differences; > use Test::NoWarnings; > > ... > > I write that *a lot*. No more. This

Customizing Your Test Modules

2007-03-08 Thread Ovid
Also at http://use.perl.org/~Ovid/journal/32614 I get tired of writing this all the time: #!/usr/bin/perl use Test::More tests => 23; use Test::Exception; use Test::Differences; use Test::NoWarnings; ... I write that *a lot*. No more. This does the same thing: #!/usr/bin/perl