Test-More / TB2

Test::Builder version 2, the next generation of building testing modules in Perl
Other
1 stars 0 forks source link

Add `subtest_handler` to EventWatcher #161

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Thursday Nov 03, 2011 at 02:23 GMT Orig: https://github.com/Test-More/test-more/issues/167

my $subtest_handler = Test::Builder2::EventWatcher->subtest_handler($subtest_start_event);

It will return a new handler for the subtest. The default provided by EventWatcher will just call $class->new on the EventWatcher's class.

Blocked by #168, we need a SubtestStart event.