schwern/test-more — Issue #215: Write a TAP v12 formatter.
Author: schwern
Created: 2011-11-16 07:09:50+00:00
State: open
Labels: Blocking Stable, DO IT, Formatter, Test-Builder2

The TAP v13 formatter contains a lot of improvements. Unfortunately, a lot of CPAN module tests look at the exact output of Test::Builder. They'll break.

One way to to fix this is to have a legacy TAP formatter, we'll call it v12, which outputs just like Test::Builder did. Then test suites can use it. Test::Builder::Tester can also default to it.

Your task is to write this.

* Don't show a TAP version header
* The ending commentary must match Test::Builder
* ok( 1, "" ) must output "ok 1 - " (see #84)
* The casing of SKIP and TODO must match

That's off the top of my head.

It will likely require pushing code from TB2::Formatter::TAP::v13 up into TB2::Formatter::TAP.