Thank you, it was the wrong tab as you pointed out (ups). But I now have the 
generated code coverage XML file, but Netbeans can't recognize it in the 
project root. I have tried two approaches, run PHPUnit with command line 
options; `--bootstrap ./vendor/autoload.php --coverage-clover coverage.xml 
--whitelist ./white tests´ and using PHPUnit config file: `-c phpunit.xml 
tests`.

I can run the tests, and gets the coverage.xml file, but I can't get Netbeans 
passing it?

The only output I get is this:

> Coverage log not found!
> Perhaps you need to add "whitelist" to your XML configuration?

I hope this is the right forum for asking these questions? 😊
________________________________
Fra: John Lavelle <j...@jql.co.uk>
Sendt: 25. november 2018 12:47
Til: users@netbeans.apache.org
Emne: Re: PHP code coverage

From the Wiki...

You must "activate" the plugin for the project on which you intend to use it. 
There is no "global" activation; each project requires a separate activation 
step.
To activate the plugin, open the project and right-click on the project node in 
Projects View.
From the context menu, click on Coverage -> Activate Coverage Collection. (If 
no Coverage menu item appears, the plugin has not been installed properly).
Expand the project node to see the files in the Source package.


Best regards,
John
j...@jql.co.uk<mailto:j...@jql.co.uk>


On Sun, 25 Nov 2018 at 12:02, Bo Andersen 
<boan....@outlook.com<mailto:boan....@outlook.com>> wrote:
Can someone tell me how to activate code coverage (generate by PHPUnit) in 
Netbeans 10? 😊

[cid:99a3486e-df87-4311-8eff-f656c1300556]

Reply via email to