Hello,

I rescently became a great fan of mocking everything when doing unit
testing. Thanks to coolest 'mockery' 
by Pádraic Brady. Now I'm trying to make all my tests database independent.

So the biggest problem here is mocking dependencies for controller tests. I
see there was an attempt to do 
some sort of dependency injection container component, but unfortunately
that proposal had some issues and
was archived.

I know I can go use one from symfony - just not sure if that's the right
thing to do and it requires the 5.3.2 
php, that is not available on all our production environments.

So I'm wondring - how are you guys doing that kind of thing?

Dmitry.
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Testing-controllers-in-isolation-tp2320293p2320293.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to