I have a question regarding plugin testing. I currently have a number
of plugins, most of which mix themselves either into AR (via meta-
methods or direct extensions of the Base) or into AP (via pre- and
postfilters). Howe am I supposed to test the former?
Testing a controller is straightforward - I just create a bogus
controller in my test suite. But how do I verify my AR mixins work
well? To test them, I need to create a dedicated class that acts
like an AR or a testing database - and for this I would need to init
an additional DB.
Do we have any solutions at the moment?