[Dbix-class] test failures in latest DBIx::Class

Peter Rabbitson rabbit+dbic at rabbit.us
Thu Nov 15 18:55:39 GMT 2012

On Thu, Nov 15, 2012 at 05:55:35PM +0000, David Cantrell wrote:
> I'm getting a test failure in the latest DBIx::Class:
> #   Failed test 'DBIx::Class::perlstring appears to have entered inheritance chain by import into Class::Accessor::Grouped'
> #   at t/55namespaces_cleaned.t line 144.
> # Looks like you failed 1 test of 14803.
> t/55namespaces_cleaned.t ......................... 
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/14803 subtests 
>         (less 39 skipped subtests: 14763 okay)

ARGH!!! Fixed: https://metacpan.org/source/RIBASUSHI/Class-Accessor-Grouped-0.10009/Changes

> As well as a bunch of TODO passes:
> ...
> which, if they're no longer TODO should be turned into actual tests, I guess.

Test::More does not have a sane facility to declare a "block" as TODO.
What you are seeing are series of tests, if at least one of them fails
the whole TODO makes no sense, even if parts of it pass. I find that
declaring individual TODO blocks within this main block is too much
hassle, and rather error prone for the little benefit it offers.

If you have a better idea how to deal with this - please do share.


More information about the DBIx-Class mailing list