[fw-general] Re: [zf-contributors] New Unit Testing tutorial

2013-02-21 Thread Vincent BLANCHON
Hi all, I think the doc is not up to date. The second part of "Bootstrapping your tests" is useless, the application bootstraping is make by Zend\Test\PHPUnit\AbstractControllerTestCase. I write this doc on unit tests, but i think there is a bad merge ? * Vincent BLANCHON Expert PHP & Zend Fram

[fw-general] Re: [zf-contributors] New Unit Testing tutorial

2013-02-21 Thread Vincent BLANCHON
"The bootstrapping needs improvements, yes, and Marco is on it https://github.com/zendframework/zf2/issues/3845 and Zend\Test\PHPUnit\AbstractControllerTestCase is useful only for testing Controllers." You can use AbstractControllerTestCase just to get a specific ServiceLocator with a specific con

[fw-general] Re: [zf-contributors] New Unit Testing tutorial

2013-02-21 Thread Robert Basic
On 21 February 2013 10:36, Vincent BLANCHON wrote: > > Hi all, > > I think the doc is not up to date. > The second part of "Bootstrapping your tests" is useless, the application > bootstraping is make by Zend\Test\PHPUnit\AbstractControllerTestCase. The bootstrapping needs improvements, yes, and