Skip Menu |

This queue is for tickets about the Test-Tester CPAN distribution.

Report information
The Basics
Id: 96719
Status: new
Priority: 0/
Queue: Test-Tester

People
Owner: Nobody in particular
Requestors: exodist7 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Upcomming Result_Stream branch breaks $Level
Date: Wed, 25 Jun 2014 14:46:52 -0700
To: bug-Test-Tester [...] rt.cpan.org
From: Chad Granum <exodist7 [...] gmail.com>
Test::Builder is evolving. Part of this evolution is the death of the $Test::Builder::Level variable. Test::Builder will still consume it and do what it has always done with it... the difference is that it never sets/updates $Level internally, so $Level no longer reflects depth with Test::Builder. This breaks pretty much all tests that validate $Level. The best solution is probably to check if the Test::Builder->can('trace_test') and if it can simply PASS any $Level test it would have done. A complicated solution would be to use Trace_Test to make sure the $Level + other TB data results in the correct reporting location. But that is a pretty big endeavor. The branch that makes these changes is here: https://github.com/Test-More/test-more/tree/Result_Stream These changes are extremely likely to merge into master soon, and once they are formally released most Test's that depend on Test::Tester will be broken (sorry) -Chad