[xdebug-general] Re: Code coverage on forked process

From: Sebastian Bergmann <sb[@]sebastian-bergmann.de>
Date: Fri, 03 Jul 2009 11:30:30 +0200

Derick Rethans schrieb:
> I do not know, I don't think that Xdebug is the culprit here, but
> basically that PHP Unit doesn't know how to deal with it. Perhaps
> Sebastian (cc-ed) can shed some light on this?

 Correct, PHPUnit does not handle that. And I have no idea how I should
 implement this; the forked process would need to call
 xdebug_get_code_coverage(), pass the result to its parent process, which
 in turn needs to the pass the data to
 PHPUnit_Framework_TestResult::appendCodeCoverageInformation().

-- 
Sebastian Bergmann                    Co-Founder and Principal Consultant
http://sebastian-bergmann.de/                           http://thePHP.cc/

Received on Fri Jul 03 2009 - 11:37:13 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST