On Wed, Mar 24, 2010 at 1:09 PM, Joseph Crawford <[email protected]> wrote: > > Jake, > > Will I also have to move my Bootstrap.php file into the /tests/application/ > directory or will it know where to find it?
No, just establish where your application.ini file is relative to your tests. I typically have a TestHelper.php file that sets up the environment, much like the index.php file in a traditional Zend MVC application. > > Thanks, > Joseph Crawford > -- > View this message in context: > http://n4.nabble.com/Unit-Testing-with-Zend-Test-tp1680861p1680875.html > Jake, > > is there a reason you have to do it manually in the tests but not in the > actual application? Not sure what the reason is, I imagine it's because you aren't allowing Zend_Application to initialize the bootstrap, instead you're doing it manually. > > Thanks, > Joseph Crawford > Sent from the Zend Framework mailing list archive at Nabble.com. >
