(on Wednesday, 05 November 2008, 08:58 AM +0000):
> Can I just ask what the best way to handle objects such as Zend_Auth and
> Zend_Registry to ensure independence between tests?
>
> At the moment I am using methods such as _unsetInstance and
> clearIdentity etc in test tearDowns. I'm sure this could be speeded
> somewhat, and I'm wondering if Zend_Test would/is perhaps do it for me?
It doesn't currently, but please feel free to request this in the issue
tracker; I suspect others would like to see it as well.
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论