Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Monday December 17, 2007
06:31 AM

More Test::Aggregate Stuff

[ #35118 ]

I really need to get off my tail and release another version of Test::Aggregate. My current version actually has the "dump" file working properly. Previously it could not be run directly and was just for "digital archaeology", if you will.

I also need to fix the interface to something like this:

use Test::Aggregate;
my $agg = Test::Aggregate->new(
    dump      => 'dump.t',        # optional
    recursive => 1,               # optional, defaults to true
    pre       => \&test_setup,    # before every .t file
    post      => \&test_teardown, # after every .t file

Other things I'll need to do:

  • Rewrite the generated code to make debugging easier.
  • Integrate optional Data::Dump::Streamer support. Without something similar to this, the pre and post actions can't be properly serialized to the dump file (though the module itself will still run).

It does nicely speed up tests, unfortunately, our Catalyst tests, the ones which most need to be sped up, segfault when aggregated.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.