PHPUnit. Error: No code coverage driver is available. (having xdebug installed)
<p>There is an answer for similar question <a href="https://stackoverflow.com/questions/35811503/laravel-5-phpunit-and-no-code-coverage-driver-available">Laravel 5: PHPUnit and no code coverage driver available</a> that works, but i have xdebug installed.</p>

<p>(if this matter I'm using: windows7, netbeans8.1, php7, wamp3)</p>

<p>Displaying code coverage in Netbeans result in: </p>

<blockquote>
  <p>Error: No code coverage driver is available</p>
</blockquote>

<p>,
and the output is below:</p>

<blockquote>
  <p>"C:\wamp\www\treningPHPUnitSymfony2.8\bin\phpunit.bat" "--colors"
  "--log-junit" "C:\Users\chiny\AppData\Local\Temp\nb-phpunit-log.xml"
  "--coverage-clover"
  "C:\Users\chiny\AppData\Local\Temp\nb-phpunit-coverage.xml"
  "C:\Program Files\NetBeans 8.1\php\phpunit\NetBeansSuite.php" "--"
  "--run=C:\wamp\www\treningPHPUnitSymfony2.8\src\TreningBundle\Tests\Controller\RabarbarControllerTest.php"
  PHPUnit 5.3.4 by Sebastian Bergmann and contributors.</p>
  
  <p>Error:         No code coverage driver is available</p>
  
  <p>.II                                                                3 /
  3 (100%)</p>
  
  <p>Time: 1.13 seconds, Memory: 4.00MB</p>
  
  <p>OK, but incomplete, skipped, or risky tests! Tests: 3, Assertions: 1,
  Incomplete: 2. Done.](url)</p>
</blockquote>

<p>xdebug conf (C:\wamp\bin\apache\apache2.4.17\bin\php.ini):</p>

<pre><code>[xdebug]
zend_extension ="C:/wamp/bin/php/php7.0.1/zend_ext/php_xdebug-2.4.0rc3-7.0-vc14.dll"

xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = Off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="C:/wamp/tmp"
xdebug.show_local_vars=0
</code></pre>

<p>loaded extensions
<a href="https://i.stack.imgur.com/8VgFR.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/8VgFR.jpg" alt="wamp. loaded extension"></a></p>

<p>(I have netbeans and project directory in same Windows partition)</p>