schwern/test-more — Issue #159: Write a formatter which outputs events as JSON
Author: schwern
Created: 2011-11-01 03:05:21+00:00
State: open
Labels: DO IT, Easy, Formatter, Test-Builder2, Wishlist

Write a formatter which dumps the content of each event it sees as JSON.

In order to be valid JSON it should output a list of objects like so:

[
{ ...event... },
{ ...event... },
...
]

See Test::Builder2::Formatter and Test::Builder2::EventWatcher for details about writing a formatter. Test::Builder2::TAP::v13 is currently the most fleshed out.