JUnitCategoriesIntegrationSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +2
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :testingJvm

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 34 more files in changeset.
Annotate integ tests failing with instant execution in :testingJvm

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 34 more files in changeset.
Change more tests.

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 20 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
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  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
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  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
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 98 more files in changeset.
Let testing-jvm tests not use deprecated configurations

    • -3
    • +3
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 76 more files in changeset.
Let testing-jvm tests not use deprecated configurations

    • -3
    • +3
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 76 more files in changeset.
Let testing-jvm tests not use deprecated configurations

    • -3
    • +3
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 76 more files in changeset.
Let testing-jvm tests not use deprecated configurations

    • -3
    • +3
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 76 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 285 more files in changeset.
Use external repository mirrors in build (#6094)

We've been bitten by external repository fluctuation for a long time.

This PR makes most of tests use repository mirrors set up by ourselves

via init script and system property.

There're still some tests not switching to mirrors, which would be fixed

in follow-up commits.

    • -2
    • +2
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 99 more files in changeset.
Add up-to-date checks for options specific to JUnit

Issue: #4924

    • -0
    • +27
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 5 more files in changeset.
Ignore powermock test on Java 9

    • -0
    • +3
    ./JUnitCategoriesIntegrationSpec.groovy
Use same classloader when filtering @Categories in JUnit

This fixes https://github.com/gradle/gradle/issues/3189

Previously we load JUnit Categories with application classloader,

which might mismatch with actually classloader (e.g. Powermock)

and result in invalid categories configuration. This PR uses same

classloader with Runner when loading category classes to avoid

this issue.

    • -16
    • +52
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 3 more files in changeset.
Add filtering and tagging support

    • -7
    • +2
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 23 more files in changeset.
Scan for both JUnit 4 and 5 classes

    • -2
    • +7
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 49 more files in changeset.
Smaller cleanups

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 1 more file in changeset.
Updated CategoryFilter to prevent NPE with Cucumber and JUnit Categories (#1511)

    • -0
    • +12
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 5 more files in changeset.
Smaller cleanups

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 1 more file in changeset.
Tidy up

    • -1
    • +1
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 1 more file in changeset.
Removed Cucumber dependency from integration test

    • -8
    • +4
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 9 more files in changeset.
Updated CategoryFilter to prevent NPE with Cucumber and JUnit Categories

- NullPointerException was being thrown if JUnit Categories were used in

a project containing Cucumber tests.

- Ensure CategoryFilter does not call createSuiteDescription if the

description test class is null

- Added integration test to reproduce the error

    • -0
    • +16
    ./JUnitCategoriesIntegrationSpec.groovy
  1. … 6 more files in changeset.