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"
Download (untitled) / with headers
text/plain 272b
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
Download (untitled) / with headers
text/plain 481b
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
Download (untitled) / with headers
text/plain 602b
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.


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.