On 1/21/07, Andy Armstrong <[EMAIL PROTECTED]> wrote:
On 21 Jan 2007, at 13:39, David Golden wrote:
> Not just TAP.  "make test" runs Test::Harness, which runs tests and
> parses the TAP with TAPx::Parser to produce a result.  And then
> CPAN.pm/CPAN::Reporter would need to run TAPx::Parser *again* to
> figure out what happened.  That's not a step forward.

Is it any worse than generating a different format and running a
different parser over it?

Very different.  Having YAML (or better yet, YAML::Syck) parse a small
hash and a big string (the TAP output) will be much faster than
reparsing the TAP stream.

Having said that I'm sure we can generate YAML easily enough if it's
going to make people's lives easier.

I only said YAML to get it out there before anyone said XML.  ;-)

Adam Kennedy has a real small implementation in YAML::Tiny that could
be used, or you could probably do it by hand, since you only need to
report a few numbers and dump a big string (and YAML has a sort of
"HERE" document format).

David

Reply via email to