Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 92152
Status: resolved
Priority: 0/
Queue: Test-Class-Moose

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

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



Subject: The END block in Test::Class::Moose is a bit insane
We upgraded to a new TCM and all of a sudden our Test::Vars test ended up running the tests from our TCM subclasses! I'm not sure what problem this END block is trying to solve, but this solution seems broken. At the very least, this behavior needs to be very well documented, and the workaround (set TEST_CLASS_MOOSE_SKIP_RUNTESTS) needs to be documented too.
BTW, no offense is intended by the use of the word "insane" ;)
On Tue Jan 14 17:36:35 2014, DROLSKY wrote: Show quoted text
> We upgraded to a new TCM and all of a sudden our Test::Vars test ended > up running the tests from our TCM subclasses! > > I'm not sure what problem this END block is trying to solve, but this > solution seems broken. At the very least, this behavior needs to be > very well documented, and the workaround (set > TEST_CLASS_MOOSE_SKIP_RUNTESTS) needs to be documented too.
Yes, it's insane. It was convenience I added to allow this: prove -l t/path/to/test/class.pm I've removed it and uploaded 0.42. And no offense taken :) Cheers, Ovid
This is now fixed.