sebastianbergmann/phpunit — Issue #457: Building html reports directly from the coverage.xml file
Author: eldy
Created: 2012-01-11 14:53:32+00:00
State: open

I wrote a new post because my frist was closes.
This is information I have: my php max_execution_time and max_input_time of php are 600. But phpunit ran from command line fails with error message "PHP Fatal error: max execution time of 120 exceeds...". Of course only phpunit reports this error. All other php process ran from same command line can last 600. But i may have a workaround for my problem :
phpunit runs all processes, then generate successfully the coverage.xml file. This takes around 100 seconds (it's a very large project: Dolibarr ERP/CRM).
But when it build html pages from the covergae.xml file, the 120s timeout occurs (after 30% of files were generated). Because i have the coverage.xml file generated, is there a way to run only the html report page generation from the xml file, from command line ? This will save me all previous steps that last 100 second and should allow me to have my code coverage reports generated (even if origin of timeout is still not clear).
If not, take this as a feature request to have a way to generate reports from an already existing coverage.xml file.