Le 2012-07-13 08:49, Marc Delisle a écrit :
Le 2012-07-13 08:40, Michal Čihař a écrit :
Hi
Dne Fri, 13 Jul 2012 08:09:13 -0400 Marc Delisle marc@infomarc.info napsal(a):
Sorry, are you talking about just running phpunit or all the tests in Jenkins? Because on my test server, running phpunit with 971 tests takes 9 seconds (phpunit 3.6.10, PHP 5.3.13).
About whole testsuite, it happens to me on my notebook as well.
Do you have xdebug extension installed (for coverage reports)?
Nope, but I'll install it and report later.
I tried with PHP 5.3.10, xdebug 2.2.0 and phpunit 3.6.10 but I get a memory allocation error when running the tests.
Without xdebug the tests take 15 seconds here, with xdebug something more than 20 minutes (what gets reduced when disabling output buffering as described by Yasitha).
I'm using PHP 5.4.4, xdebug 2.2.0 and phpunit 3.6.10.