Re: Test::Builder::Tester considered harmful. Use Test::Tester.

Michael G Schwern <[email protected]>
Newsgroups gmane.comp.lang.perl.quality-assurance
Message-ID <[email protected]>
On 2012.8.15 4:24 AM, Karen Etheridge wrote:
> On Sat, Aug 04, 2012 at 04:57:42PM -0700, Michael G Schwern wrote:
>> Executive Summary: If you're using Test::Builder::Tester to test your Test
>> module, switch to Test::Tester.  It will make the transition to Test::Builder
>> 1.5 smoother and avoid future breakage due to TAP formatting changes.
> 
> That would be quite a list of modules:
> https://metacpan.org/requires/module/Test::Builder::Tester

Sorry, I wasn't clear.  In the short term, TBT will continue to work.

In the short term, TBT uses a special TAP formatter which emulates the quirks
of the existing behavior.  So whatever tests you have with whatever
assumptions about the TAP format will still work.

In the long term, TBT will become further and further divorced from reality.
It will be frozen in its format and behaviors and not reflecting actual outputs.

Finally, rather than trying to interpret what happened based on the TAP, its
easier to look at the test events directly with Test::Tester or TB2::Tester.


-- 
On error resume stupid
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.