Skip Menu |

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

Report information
The Basics
Id: 85528
Status: open
Priority: 0/
Queue: Test-Tester

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

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



Subject: Test::Tester::capture does not support note()
It is recommended that Test modules swap out their Test::Builder object for the one returned by Test::Tester::capture. However, this object doesn't support the full Test::Builder API -- for one, note() does not work: $ perl -MTest::Tester -wle'Test::Tester::capture->note("foo")' Use of uninitialized value $indent in concatenation (.) or string at /Users/ether/.perlbrew/libs/16.3@std/lib/perl5/Test/Builder.pm line 1816. Can't use an undefined value as a symbol reference at /Users/ether/.perlbrew/libs/16.3@std/lib/perl5/Test/Builder.pm line 1821.
Released version 0.109 which has an empty stub for note() and calls through to Test::Builder for explain. Leaving the bug open since real support is not there. If someone wants to implement real support - recording the values passed to note() and making them available for checking after - I'm happy to apply a patch.