Skip Menu |

This queue is for tickets about the Log-Dispatch-Config-TestLog CPAN distribution.

Report information
The Basics
Id: 64601
Status: rejected
Priority: 0/
Queue: Log-Dispatch-Config-TestLog

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

Bug Information
Severity: Normal
Broken in: 0.02
Fixed in: (no value)



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.
Subject: Re: [rt.cpan.org #64601] Reimplement as an event watcher for TB2
Date: Sat, 8 Jan 2011 12:36:00 +0200
To: bug-Log-Dispatch-Config-TestLog [...] rt.cpan.org
From: Yuval Kogman <nuffin [...] cpan.org>
Cool, thanks for the heads up =)
Since this version of TB2 is being abandoned, this ticket is no longer relevant.