Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: nospam-abuse [...] ilyaz.org
Cc:
AdminCc:

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



Date: Thu, 18 Sep 2003 13:22:27 -0500
To: bug-test-harness [...] rt.cpan.org
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>(by way of Andy Lester)
Subject: 5.8.1-tobe: Test::Harness bugs
Download (untitled) / with headers
text/plain 654b
a) Contrary to the documentation, Test::Harness expects a whitespace after `# TODO' marker. For example, a test emiting not ok 6 # TODO: no brain found works if run as `perl TEST foo.t', but not if `perl harness foo.t'. [See the code matching $control below.] b) I can see stuff like my($name, $control) = split /(?:[^\\]|^)#/, $extra if $extra; my($type, $reason) = $control =~ /^\s*(\S+)(?:\s+(.*))?$/ if $control; followed by `if defined $type' [in Test/Harness/Straps.pm]. Given that $type contains line noise unless $extra and $control were TRUE, this is hardly a good choice... Thanks, Ilya
Docs now clarify that a space is required after the TODO.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.