Skip Menu |
 

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

Report information
The Basics
Id: 65249
Status: new
Priority: 0/
Queue: Test-Able

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

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



Subject: Can not grab at the internals of Test::Builder
Download (untitled) / with headers
text/plain 526b
Test::Able::Role::Meta::Class uses the internals of Test::Builder in several places. This is not safe. Those internals will and have changed. Here are their equivalent, documented methods: $b->{Curr_Test} -> $b->current_test $b->{No_Plan} -> $b->has_plan eq 'no_plan' $b->{Expected_Tests} -> $b->expected_tests You cannot update $b->{Expected_Tests} directly and expect it to continue to work. I would suggest you track the build up of your plan separately and call $b->done_testing($your_plan) at the end.


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.