Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-33

Please add support for code coverage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Next
    • None
    • java - JUnit
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            chrizzly Christian Lenz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: