Test-More / TB2

Test::Builder version 2, the next generation of building testing modules in Perl
Other
1 stars 0 forks source link

Write a TAP legacy formatter. #185

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Wednesday Nov 16, 2011 at 07:09 GMT Orig: https://github.com/Test-More/test-more/issues/215

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 TAP::TB1, which outputs just like Test::Builder 0.x does. Then test suites can use it. Test::Builder::Tester can also default to it.

Your task is to write this.

That's off the top of my head.

Since most of the differences are strings embedded in complicated logic, a good solution would be to turn those strings into configurable attributes. Then have the TB1 formatter use different defaults.

219 should be done first.

schwernbot commented 10 years ago

From: @schwern Date: Wednesday Nov 30, 2011 at 08:10 GMT Orig: https://github.com/Test-More/test-more/issues/215#issuecomment-2956413

There's probably other issues, but it will shake out as we test it against CPAN modules.