Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
I've finally gotten around to customizing my Test::More a bit more:
package My::Test::More;
use Test::Builder::Module;
@ISA = qw(Test::Builder::Module);
use Test::More;
use Test::Differences;
use Test::Exception;
INIT {
unless ( exists $INC{'Test/Class.pm'} ) {
# NoWarnings doesn't play well with Test::Class
eval "use Test::NoWarnings";
}
}
@EXPORT = (
@Test::More::EXPORT,
@Test::Differences::EXPORT,
@Test::Exception::EXPORT,
);
$ENV{RUNNING_TESTS} = 1;
1;
I use Test::Differences and Test::Exception constantly and I was getting tired of "use"ing them in every test program, so now I don't have to. Using this means you automatically get an extra test from Test::NoWarnings, but now you can't forget to have it
I should write some code to avoid function name conflicts in @EXPORT. Maybe even to rename or exclude them. Think 'traits' for functions
I blame you (Score:1)
[repeated from the qa list]
I think it was you or someone else who got me started on this in Handel
and my other DBIC based dists where I needed both Test::More and custom
sqlite t/var initializer junk:
http://search.cpan.org/src/CLACO/DBIx-Class-InflateColumn-Currency-0.01/t/lib/D
Yup, in fact, you're still in the comments...
Re: (Score:2)
You know, up until this post, I never realized that you and Chris Laco were one and the same. How the hell did I miss that? :)
Re: (Score:1)
Re: (Score:2)
You know, either way I answer that could get interpreted negatively, so let me just say that I have the utmost respect for both of you ;)
Re: (Score:1)
re: re-exporting example (Score:1)
Mark
Re: (Score:1)