Re: [fw-general] Re: Testing ZF models with PHPUnit

2011-03-12 Thread Hector Virgen
I've had good results with always using the unit test bootstrap even when running individual tests. To ensure the bootstrap is used, I always execute phpunit from the same directory as my phpunit.xml file (or pass in the --configuration argument). Something like this: phpunit --configuration src/t

[fw-general] Re: Testing ZF models with PHPUnit

2011-03-12 Thread tonystamp
Thanks for the pointers. I prefer the second one too, but was wondering if that would be best placed in the test bootstrap, or should it placed in every individual tests set-up, in case they are run manually (bypassing the unit test bootstrap)? -- View this message in context: http://zend-framew