Test-More / TB2

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

Remove Test::Builder->_print() and friends #177

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Friday Nov 11, 2011 at 03:05 GMT Orig: https://github.com/Test-More/test-more/issues/195

This includes methods and keys that only it uses...

bail_out is the last thing using _print and must be implemented in the formatter first. (See #101)

schwernbot commented 10 years ago

From: @jkeenan Date: Saturday Nov 12, 2011 at 01:16 GMT Orig: https://github.com/Test-More/test-more/issues/195#issuecomment-2715311

Can you elaborate on why these methods should be removed and/or what they should be replaced with?

schwernbot commented 10 years ago

From: @schwern Date: Saturday Nov 12, 2011 at 01:58 GMT Orig: https://github.com/Test-More/test-more/issues/195#issuecomment-2715509

All output is now done via the Test::Builder2::Formatter object and all information passed to them via Test::Builder2::Event objects. There's no more need for Test::Builder to have a print method of its own and it should not bypass the formatter.

schwernbot commented 10 years ago

From: @schwern Date: Tuesday Nov 15, 2011 at 05:56 GMT Orig: https://github.com/Test-More/test-more/issues/195#issuecomment-2741331

101 is done, so I've gone and killed the print code.