Subject: | verbose is normalizing the TAP |
Verbose mode is normalizing the TAP so that you're not seeing what the
test really output. This can be a nightmare for debugging a test.
For example...
$ cat ~/tmp/foo.t
#!perl -w
use strict;
use Test::More tests => 1;
SKIP: {
skip( "meh", 1 );
ok( 1, "dud" );
}
$ perl ~/tmp/foo.t
1..1
ok 1 # skip meh
$ prove -v ~/tmp/foo.t
/Users/schwern/tmp/foo....
1..1
ok 1 # SKIP meh
ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.02 cusr
0.00 csys = 0.06 CPU)
Result: PASS
Note the program output "ok 1 # skip meh" but verbose output "ok 1 #
SKIP meh". Is this intentional?
This is related to 40053 on the general issue of verbose not showing the
real TAP input.