On Wed, Mar 24, 2010 at 1:09 PM, Joseph Crawford
i...@josephcrawford.com 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
Jake,
I am not intentionally stopping Zend_Application from loading the bootstrap.
As you mentioned I do have a bootstrap.php file that is the same as your
TestHelper.php it's my index.php from the app except it does not call
-bootstrap()-run();
Thanks,
Joseph Crawford
--
View this message
On Wed, Mar 24, 2010 at 6:32 PM, Joseph Crawford
i...@josephcrawford.com wrote:
Jake,
I am not intentionally stopping Zend_Application from loading the bootstrap.
As you mentioned I do have a bootstrap.php file that is the same as your
TestHelper.php it's my index.php from the app except it
Routes should be tested independently of everything else. You should
be testing your controllers and actions. Routes are just smoke and
mirrors.
I personally run a seperate bootstrap file for my automated tests.
It's essentially the same as index.php, but without the -run() call
on the
I think there is some confusion with my use of the word Bootstrap. When I
mean bootstrap I am talking about the
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { }
That was not getting run until I manually called $application-bootstrap();
and the bootstrap object was not being
Sorry ignore the last part of the last response with the calling of -run().
The Zend Application is not setup in that file, rather it is setup in the
ControllerTestCase class that extends the Zend testing classes.
--
View this message in context: