2009年7月1日星期三

[fw-mvc] Running init() in a a unit test with session

I have an application I'm working on with some code I'm finding very difficult to test.

my controller has an init() method which doesn't seem to fire when I run the dispatch() method in the unit test.

Also, how can I maintain Zend_Session from one dispatch to another in my unit tests?

Thanks,
-
Jon Lebensold
free Zend Framework Screencasts at http://www.zendcasts.com

没有评论: