Test-More / TB2

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

Remove the indentation/subtest handling from the TAP formatter #141

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Tuesday Jan 25, 2011 at 01:50 GMT Orig: https://github.com/Test-More/test-more/issues/120

The TAP formatter has some broken handling for subtests. Remove it. It will be done better later.

Each subtest requires its own counter, set of results, events, ending handling, etc. This is better done with a whole new formatter. So the TAP formatter will change to delegate to a stack of real formatters. The parent formatter will just detect stream start/end events to push or pop the stack and set their depth.

This makes moving stream_depth into History easier.

schwernbot commented 10 years ago

From: @schwern Date: Tuesday Jan 25, 2011 at 01:56 GMT Orig: https://github.com/Test-More/test-more/issues/120#issuecomment-704725

Remove the indentation from the TAP formatter.

Nothing is using it. We can do it better.

Closed by cbb64a8c063040146d302807e519eb1fc9811a14