Skip Menu |

This queue is for tickets about the Test-Aggregate CPAN distribution.

Report information
The Basics
Id: 34026
Status: resolved
Priority: 0/
Queue: Test-Aggregate

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.08
Fixed in: (no value)



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.
This is fixed in 0.10. Let me know how it works out for you! Note that it requires Data::Dump::Streamer if you use the 'dump' feature. Cheers, Ovid