This is a technology preview of Test::Builder2. It is by no means
complete or stable, but here's something to play with and see where
it's going.
WHAT TEST::BUILDER2 IS
It is a rewrite of the skeleton that holds together all the popular
Test:: libraries. Its aim is to increase flexibility and allow Perl
authors to do pretty much whatever they please while still not having
to worry about the minutia of test formats or coordinating with other
test libraries.
WHAT TEST::BUILDER2 IS NOT
It is not a rewrite of Test::More. Maybe later we can do Test::More2.
It doesn't directly effect how people write tests, but how people
write test libraries (which people then use to write tests). Many
things that were previously impossible are now possible.
COMPATIBILITY
Test::Builder2 is not directly compatible with Test::Builder, thus the
new namespace, but Test::Builder will continue to work in harmony with
Test::Builder2.
WHAT WORKS
Test event hooks
Multiple formatters (ie. you can output something other than TAP)
Assert stacks (ie. no more $Test::Builder::Level)
A bunch of other stuff
Test::Buidler is using pieces of Test::Builder2
WHAT DOESN'T WORK
Structured diagnostics
Comments (traditional unstrucutred diagnostics)
Plan enforcement
Threads are cranky about Mouse
A bunch of other stuff
WHERE TO LOOK
The new code is in lib/Test/Builder2* and tests in t/Builder2/
--
I am somewhat preoccupied telling the laws of physics to shut up and sit down.
-- Vaarsuvius, "Order of the Stick"
http://www.giantitp.com/comics/oots0107.html