JacocoPluginIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

  1. … 98 more files in changeset.
Deprecate jacoco.append

It makes no sense to set the property to `false`.

    • -0
    • +29
    ./JacocoPluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Fix Jacoco to work with build cache

Jacoco code coverage should work well with the build cache out of the

box. Since appending to a coverage file works with parallel test

execution, see https://github.com/jacoco/jacoco/pull/52, we set

`append=true` and delete the coverage data just before the test task

starts to execute.

Note that this is a breaking change: separate tasks now cannot use the

same coverage file, since each of the tasks will delete it.

Issue: #5269

  1. … 7 more files in changeset.
Rework JacocoReportBase to avoid use of afterEvaluate

  1. … 2 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

This reverts commit 13eaebc2b1244511dcbff4c59cd41253e3b69642.

  1. … 88 more files in changeset.
Revert "Dogfood ImmutableFileCollection on production code (#4988)"

This reverts commit 834632674ca29b6fd190857947338b2b54a9bb62.

The commit caused a bug in incremental compilation, causing changes

to go undetected.

  1. … 88 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

Use ImmutableFileCollection in production code

  1. … 88 more files in changeset.
Allow ArgumentProviders be passed as Test/JavaExec Jvm arguments (#4300)

* Allow ArgumentProviders be passed to Test Jvm arguments

* Make it possible to pass argument providers to JavaExec

  1. … 26 more files in changeset.
Keep a good test

+review REVIEW-6524

    • -0
    • +16
    ./JacocoPluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Revert "Use a configure task to add jvmArgs to Test"

This reverts commit 8bb0429bc2140552c53dfbeb522c34a55caf63f0.

+review REVIEW-6524

    • -25
    • +0
    ./JacocoPluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Use a configure task to add jvmArgs to Test

+review REVIEW-6524

    • -0
    • +25
    ./JacocoPluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Test plugin with multiple JaCoCo versions

    • -231
    • +0
    ./JacocoPluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Change coverage to avoid rounding issue jacoco/jacoco#452

Upgrade JaCoCo library to a Java 9-compatible version

    • -15
    • +1
    ./JacocoPluginIntegrationTest.groovy
  1. … 5 more files in changeset.
Tests do not work on Java 9

Report task should fail if any of the input file does not exist

    • -0
    • +34
    ./JacocoPluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Basic support for enforcing Jacoco metrics

    • -19
    • +3
    ./JacocoPluginIntegrationTest.groovy
  1. … 18 more files in changeset.
Document Jacoco problems with Java 9

I deactivated the now failing tests, too. Then I can

update our CI server to 9u127.

    • -0
    • +12
    ./JacocoPluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Merge branch '2.14.x'

    • -0
    • +29
    ./JacocoPluginIntegrationTest.groovy
  1. … 5 more files in changeset.
Make JacocoTaskException configurable again

Fixes [GRADLE-3498]

gradle/build-tool-issues#147

    • -0
    • +29
    ./JacocoPluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Update Jacoco version to 0.7.7.201606060606

This is required for running Jacoco with Java 9.

For some reason ` ` is inserted between the

coverage and the `%` in the html report on Java 9.

We remove this in the test fixture.

  1. … 4 more files in changeset.
Fixed broken int test.

Convert Jacoco plugin to Java

+review REVIEW-5933

    • -0
    • +17
    ./JacocoPluginIntegrationTest.groovy
  1. … 24 more files in changeset.
Changed some more int tests to use junit 4.12

  1. … 7 more files in changeset.
Don't run more tests in parallel that might be affected by the concurrent task execution status logging issue. Do nothing in skipped task assertion methods when in parallel execution.

+review REVIEW-5292

  1. … 30 more files in changeset.
GRADLE-3105 - Fixed problem in JacocoReport where coverage is always 0.

- Added some int test coverage for the coverage in Jacoco reports.

    • -14
    • +50
    ./JacocoPluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Merged a couple of test cases.

REVIEW-3562 added integ test coverage for the jacoco bugfix about missing source references. It's fairly clean and does not couple that much with the report format.