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.

Bug 257259 - Please add support for code coverage
Summary: Please add support for code coverage
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.2
Hardware: PC Other
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-22 14:26 UTC by Christian Lenz
Modified: 2017-07-09 11:33 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2015-12-22 14:26:01 UTC
As I thought that this feature is essential, this feature is completely missing in netbeans as integrated right inside netbeans.

I wrote a plugin for netbeans and I wanted to test my code with junit, mockito and powermock. So far so good, everything is fine. Now I wanted to see the code coverage and I wondered that this feature is missing. Code coverage is implemented for PHP (PHPUnit - https://netbeans.org/kb/docs/php/phpunit.html#code-coverage) and JS (Karma Istanbul - https://blogs.oracle.com/geertjan/entry/karma_istanbul_code_coverage_in).

I found a plugin called JaCoCoverage. It works but it is not as implemented as the native code coverage tools for PHP and JS. It puts out stuff into the output window which is not nice and it will create a new report as HTML, which is much better but a natively integration in netbeans as the other tools, would be very handy and I think is a must have.


Regards

Chris
Comment 1 Christian Lenz 2017-07-09 11:33:29 UTC
I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-33. Please feel free to change the state of the ticket.