Test-More / TB2

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

Allow test modules to globally override Test::Builder2 behaviors #84

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Thursday May 27, 2010 at 05:14 GMT Orig: https://github.com/Test-More/test-more/issues/23


* How the plan works




schwernbot commented 10 years ago

From: @schwern Date: Saturday Sep 11, 2010 at 02:06 GMT Orig: https://github.com/Test-More/test-more/issues/23#issuecomment-400504

You can totally override it by swapping out the TB2 singleton, but that's impolite. Most use cases of global behavior changes are satisfied by event method modifiers.