2008/9/11 Bruno Friedmann <[EMAIL PROTECTED]>:
> I've a application bootstrap which relies on Zend_Session. And I want to test 
> controllers with the new (not so)
> Zend_Test_PHPUnit_ControllerTestCase.

The problem is that Zend_Session is static: I also have opened a topic
in the fw-mvc list blaming the presence of so many static classes in
the framework components. Obviously you can reset some of them, like
Zend_Test_* does with the front controller and the helper broker, but
to me it feels like a workaround; also it means Zend_Session and other
classes has to be aware of testing, while a class should have only one
resposibility.


-- 
Giorgio Sironi
Piccolo Principe & Ossigeno Scripter
http://www.sourceforge.net/projects/ossigeno

Reply via email to