More Test::Aggregate Stuff

Ovid on 2007-12-17T11:31:53

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
);
$agg->runtests('taggregate/');

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.