« Return to Thread: Running init() in a a unit test with session

Running init() in a a unit test with session

by Jon Lebensold :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: Running init() in a a unit test with session