New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test::Builder::Tester is case sensitive, causing tests to fail with 1.5 #255
Comments
This is similar to #254 and has a similar response; TBT was changed to use a formatter which matches how TB1 behaved, but it hasn't been released yet. Please try the Test-Builder1.5 branch and let us know if that solves the problem. We're moving away from testing the formatted output and towards a more direct test of the result and test events. You can use Test::Tester which does not rely on the formatted output. |
But, since the tests are failing for certain CPAN Testers, I don't have any way to really do that ... do I? That is, they would have to upgrade, right?
Yeah, I thought about that, but I'm hesitant to rewrite the entire test suite (especially since it's not my module), and I'm not sure it's a great idea to have some tests using TBT and others using TT ... Isn't this a problem that other users of TBT will be having? |
On 2012.2.18 2:14 AM, Buddy Burden wrote:
You do. You can download the Test-Builder1.5 branch, try it with Test::File, Eventually we'll push out an alpha with the fix, and CPAN Testers will If all goes to plan you should have to make no changes to your Test::File tests.
I'd recommend a complete move to TT because TBT is fundamentally flawed. It
Yes. I've taken the approach to fix it across the board by having TBT use a |
1.005000_004 fixed this problem. |
I recently started co-maint on
Test::File
. It contains some code like this:which works fine on
Test::More
prior to 1.x, but fails for CPAN Testers who have upgraded to 1.5 (specifically 1.005000_002). The failure looks like:i.e. the capitalization of "skip" is different. I asked on perl-qa and Ovid advised me that TAP should be case-insensitve, so perhaps Test::Builder::Tester should be changed to ignore case differences ... ? Or maybe there's a better way to do this than calling
test_out
directly as brian d foy is doing there, but I didn't see anything in TBT's POD.This may or may not be related to #254.
The text was updated successfully, but these errors were encountered: