This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hello I installed Netbeans 8.2 (on Fedora 24) and a web server with PHP7+XDebug . The debugger works well with Netbeans but when I execute a test generated by Netbeans, I have this message : >"/usr/bin/php" "/usr/local/bin/phpunit" "--colors" "--log-json" "/tmp/nb-phpunit-log.json" "--coverage-clover" "/tmp/nb-phpunit-coverage.xml" "/home/karima/netbeans-dev-201608060002/php/phpunit/NetBeansSuite.php" "--" "--run=/home/karima/git/App/tests/selenium" >>PHP Fatal error: Class 'WebDriverCapabilityType' not found in /home/karima/git/App/tests/selenium/htdocs/indexTest.php on line 22 >>PHPUnit 5.4.8 by Sebastian Bergmann and contributors. >>Error: No code coverage driver is available >>Done. nb-phpunit-coverage.xml is empty on the pc. It's a problem in Netbeans ? Thanks Karima
(In reply to Karima_Rafes from comment #0) > >>PHP Fatal error: Class 'WebDriverCapabilityType' not found in /home/karima/git/App/tests/selenium/htdocs/indexTest.php on line 22 > > >>Error: No code coverage driver is available The problem will be here ;) So, IMHO not related to NetBeans, it is your project setup (or environment?). BTW code coverage works for me without any problem in the dev version of NetBeans. Thanks for reporting. Product Version: NetBeans IDE Dev (Build 20160809-268945c428af) Java: 1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13 Runtime: Java(TM) SE Runtime Environment 1.8.0_101-b13 System: Linux version 4.4.0-34-generic running on amd64; UTF-8; cs_CZ (nb)
Good news. I searched the coverage because Netbeans said me 100% succeeded. It's just a little bug in the interface ;) So If I generate a test by Netbeans, I have to install before a thing to start the Netbeans's test for Selenium. Do you know a doc step by step to run the netbeans's test in a empty project with a netbeans without config ? Thanks
Sorry, I do not know what you mean exactly. You can try to ask our mailing list users@php.netbeans.org [1], maybe you will get some help there. Thanks. [1] https://netbeans.org/projects/php/lists