Well, actually no. 

I think you should still investigate the reason for that. Bootstraping your
application is required to do testing of ZendFramework application but
there's also phpunit itself that needs to be instantiated to run tests.

So what you can do is create a dummy test that extends
PHPUnit_Framework_TestCase and try to run it apart from ZendFramework. This
way you can figure out whether it's your application or phpunit
instantiation that takes so long.

Here are some actual figures from my experience:

Running a single test that involves bootstraping application and generating
code coverage reports takes about 1-2 seconds. Testing the whole project
(some 600 tests) without code coverage takes about 1 minute. But again i'm
on a fast machine.

Dmitry.
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/PHPUnit-taking-forever-tp2133459p2164324.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to