Skip Menu |

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

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

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

Bug Information
Severity: Important
Broken in: 3.06
Fixed in: (no value)



Subject: Cannot find object method "tests_planned"
Hello! I am using TAP::Parser and trying to ascertain how many plans it sees, to wit I do: print $results->tests_planned; and receive this error: Can't locate object method "tests_planned" via package "TAP::Parser::Result::Test" at /usr/lib/cgi-bin/auto_out.cgi line 21.
From: ovid [...] cpan.org
On Wed Jan 23 04:53:59 2008, jeremiah wrote: Show quoted text
> Hello! > > I am using TAP::Parser and trying to ascertain how many plans it sees, > to wit I do: print $results->tests_planned; and receive this error: > > Can't locate object method "tests_planned" via package > "TAP::Parser::Result::Test" at /usr/lib/cgi-bin/auto_out.cgi line 21.
This appears to be a documentation bug. The 'tests_planned' method is actually called on the parser object. Sorry for the confusion. Cheers, Ovid
On Wed Jan 23 06:05:24 2008, OVID wrote: Show quoted text
> On Wed Jan 23 04:53:59 2008, jeremiah wrote:
> > Hello! > > > > I am using TAP::Parser and trying to ascertain how many plans it sees, > > to wit I do: print $results->tests_planned; and receive this error: > > > > Can't locate object method "tests_planned" via package > > "TAP::Parser::Result::Test" at /usr/lib/cgi-bin/auto_out.cgi line 21.
> > This appears to be a documentation bug. The 'tests_planned' method is > actually called on the parser object. Sorry for the confusion. > > Cheers, > Ovid
Aha. Thanks. Will be fixed in the next release.