Test-More / TB2

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

Make it easy to change the formatter from inside the test. #199

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Wednesday Nov 30, 2011 at 01:34 GMT Orig: https://github.com/Test-More/test-more/issues/243

I see two ways of doing this.

The former is the most flexible, and easier than the user having to clear and set the formatter in two steps. The latter allows use Test::More formatter => TB2::Formatter::POSIX but it will work for any module derived from Test::Builder::Module.

Implement both.

schwernbot commented 10 years ago

From: @schwern Date: Thursday Mar 22, 2012 at 00:56 GMT Orig: https://github.com/Test-More/test-more/issues/243#issuecomment-4630639

done.