Subject: | Option to add begin/end actions |
I'm considering using Test::Aggregate to speed up a test suite. Nearly
every test does a bunch of setup/teardown, most of this happening in
BEGIN/END blocks in a custom Test module. Specifically it's beginning
and rolling back a test transaction. TA doesn't run BEGIN and END
blocks per iteration so there's a problem.
Rather than change every test to do it's own setup/teardown it would be
nice if there was a way to specify global setup/teardown actions for
Test::Aggregate to run between tests. Then I could simulate the
existing BEGIN/END actions without having to modify each test.