Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2955

gradle jacoco plugin shows excluded packages with 0% coverage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None

      Description

      If I exclude a package from coverage reporting via

      test {

      jacoco

      { excludes = ["com.blah.*"] }

      }

      it is excluded in the jacoco runtime but not in the report generation.
      this results in the package having 0% coverage in the jacoco report

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            forums Gradle Forums
            Votes:
            19 Vote for this issue
            Watchers:
            28 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: