Skip Menu |
 

This queue is for tickets about the CHI CPAN distribution.

Report information
The Basics
Id: 78921
Status: resolved
Priority: 0/
Queue: CHI

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

Bug Information
Severity: Normal
Broken in: 0.55
Fixed in: (no value)



Subject: Error in the documentation for CHI::Driver::Development
Download (untitled) / with headers
text/plain 764b
This is a documentation problem for the (excellent - thanks for prodiving it!) testing framework for new drivers. The problem is in CHI::Driver::Development, see the section "Add a module called CHI::Driver::MyDriver::t::CHIDriverTests to your distribution containing". A new driver will fail the tests unless it includes something like sub testing_driver_class { 'CHI::Driver::MyDriver' } in CHI::Driver::MyDriver::t::CHIDriverTests. The failures will be along the lines of: Failed test 'cache isa CHI::Driver::CHIDriverTests' at /usr/local/share/perl/5.14.2/CHI/t/Driver.pm line 857. (in CHI::Driver::MyDriver::t::CHIDriverTests->test_l1_cache) cache isn't a 'CHI::Driver::CHIDriverTests' it's a 'Moose::Meta::Class::__ANON__::SERIAL::3'
Download (untitled) / with headers
text/plain 882b
Thanks - fixed in next release. On Sun Aug 12 09:06:24 2012, NHORNE wrote: Show quoted text
> This is a documentation problem for the (excellent - thanks for > prodiving it!) testing framework for new drivers. The problem is in > CHI::Driver::Development, see the section "Add a module called > CHI::Driver::MyDriver::t::CHIDriverTests to your distribution containing". > > A new driver will fail the tests unless it includes something like > > sub testing_driver_class { > 'CHI::Driver::MyDriver' > } > > in CHI::Driver::MyDriver::t::CHIDriverTests. > > The failures will be along the lines of: > > Failed test 'cache isa CHI::Driver::CHIDriverTests' > at /usr/local/share/perl/5.14.2/CHI/t/Driver.pm line 857. > (in CHI::Driver::MyDriver::t::CHIDriverTests->test_l1_cache) > cache isn't a 'CHI::Driver::CHIDriverTests' it's a > 'Moose::Meta::Class::__ANON__::SERIAL::3'


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.