Have following phpunit.xml:
<log type="coverage-html" target="./log/codeCoverage" charset="UTF-8"
with directory structure proposed in http://net.tutsplus.com/tutorials/php/parallel-testing-for-phpunit-with-paratest/
I changed some test to take longer time (bigger sleep) and instead of general code coverage I see only coverage for longest running test after all.
Running these tests with phpunit gives expected result with 100% code coverage for each test and method inside.
Please see screenshots in attachment
PHPUnit configuration is still pretty limited. It is definitely on the road map, but certain things are tricky due to the nature of how paratest functions. Each testcase is run in a separate process, so in the case of code coverage, we would have to somehow aggregate results into one report.
Full code coverage support sorely missed!
Let me say coverage is antithetical to Paratest, which is a tool to run test faster. To produce a coverage report, you would run the suite with Xdebug active and with code coverage collection active, which means easily tripling the amount of time it takes (depending on PHP version and on how much CPU the test use).
@brianium, is this still an issue knowing, that #64 is merged?
Should be good now as of #64 being merged