Skip Menu |

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

Report information
The Basics
Id: 43407
Status: resolved
Priority: 0/
Queue: Test-Harness

Owner: Nobody in particular
Requestors: mschwern [...]

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

Subject: verbose is normalizing the TAP
Download (untitled) / with headers
text/plain 717b
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.
This was fixed in r1270.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to