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'm using PHPUnit 3.5.3 and can't see code coverage in editor window. "Code Coverage Report" window shows how much percent of files is covered, but in the tested file itself background color is still white. Output window shows: PHPUnit 3.5.3 by Sebastian Bergmann. ............ Time: 1 second, Memory: 5.00Mb [30;42m [2KOK (12 tests, 12 assertions) [0m [2K Writing code coverage data to XML file, this may take a moment. If I do it on commandline, the .xml file is generated phpunit --bootstrap bootstrap.php --coverage-clover ./log/coverageclov.xml ./lib As one can see PHPUnit changed switch '--coverage-xml' to '--coverage-clover' for generating xml files. May be is this the issue? see also http://netbeans.org/bugzilla/show_bug.cgi?id=190725
I installed 3 versions of NetBeans IDE: 7.0M2, 7.0Beta, 7.0Dev After checking "Code Coverage > Collect and Dislpay Code Coverage", Editor Bar was visible in 7.0M2 only. After fixing PHP_CodeCoverage_Report_Clover class as it described here: http://netbeans.org/bugzilla/show_bug.cgi?id=190725#c6 code lines of tested file was highlighted as expected in 7.0M2 only too.
After correcting Bug 190725 - AssertionError at org.netbeans.modules.php.project.ui.codecoverage.CoverageVO.setPhpUnitVersion code coverage "editor bar" and colors don't show up on tested file
Batch reassigning.
I just tried it in the development version of NetBeans and it works for me. If the problem still exists for you, feel free to reopen this issue but please provide exact steps to reproduce (also verify that you are using the development version of NetBeans [1]). Thanks. [1] http://bertram.netbeans.org/hudson/job/PHP-build/ Product Version: NetBeans IDE Dev (Build 20110606-040ca04e81f8) Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02 System: Linux version 2.6.38-8-generic running on amd64; UTF-8; cs_CZ (nb)