Subject: | Reimplement as an event watcher for TB2 |
Hi,
This is a note to let you know that Test::Builder is changing for
version 2.00 and these internal changes will break your module. You can
try your module against the development version at
http://github.com/schwern/test-more or wait for Test-Simple-2.00_02 to
hit CPAN in the next couple days.
Fortunately, your module is a fantastic use case for Test::Builder2.
Rather than wrapping methods in Test::Builder, in Test::Builder2 you
would create an EventWatcher which will see all events as they go by.
These are exactly the same events as Test::Builder uses to write
formatted TAP output. You will be able to log everything.
See Test::Builder2::EventWatcher for details and Test::Builder2::Design
for an overview of the whole system. You can see some examples of
watchers in examples/TB2 in the source directory.
Let me know if you need any help or find any part of the implementation
or docs wanting or unclear. This is still an early alpha, it is the
first "design complete" release.