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.