integTest

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

  1. … 81 more files in changeset.
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

  1. … 81 more files in changeset.
Fix ConsoleTypePersistIntegrationTest for the configuration cache

by using a gradle property provider in the build under test

and moving the in-build assertion to configuration time because

it needs to inspect gradle.startParameter

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

Add explaining `because` to tests failing with the configuration cache

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

    • -1
    • +1
    ./groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy
  1. … 10 more files in changeset.
Upgrade JUnit version (#12924)

Upgrade JUnit to 4.13, JUnit platform to 5.6.2

  1. … 330 more files in changeset.
Upgrade JUnit

  1. … 329 more files in changeset.
Upgrade JUnit to 4.13, JUnit platform to 5.6.2

  1. … 242 more files in changeset.
Revert "Ignore failing Windows tests"

This reverts commit b3b7d9902096b43cf518b420e6f2752ca1bd7c2b.

  1. … 2 more files in changeset.
Ignore failing Windows tests

All due to

https://github.com/gradle/native-platform/issues/192

  1. … 2 more files in changeset.
Update all links pointing to snippets/userguide

  1. … 88 more files in changeset.
Fall back to plain console with colors when console width is not known

  1. … 5 more files in changeset.
Refine annotations on AbstractConsoleBuildPhaseFunctionalTest

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

Polish AbstractLoggingHooksFunctionalTest

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

Add @ToBeFixedForInstantExecution(because = "Gradle.buildFinished") to AbstractLoggingHooksFunctionalTest

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

Annotate a bunch of tests @ToBeFixedForInstantExecution(because = "Gradle.buildFinished")

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

  1. … 2 more files in changeset.
Remove always-true JDK8_OR_LATER test precondition

  1. … 41 more files in changeset.
Revert "Deactivate log level propagation to java.util.Logging for now"

This reverts commit 9aba91121c2a88d158ac8d60ac692ece78a749f7.

  1. … 1 more file in changeset.
Fix scripts under test that were using project.xxx during execution

where .xxx is simply handled by capturing just that.

for example, project.name, project.version or project.objects etc...

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

  1. … 5 more files in changeset.
Specify in method signature the Gradle version when a feature will be deprecated

    • -11
    • +11
    ./groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy
    • -5
    • +5
    ./groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy
  1. … 67 more files in changeset.
Fix scripts in integ tests reaching to project.name

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

  1. … 1 more file in changeset.
Fix scripts in integ tests reaching to project.name

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

  1. … 1 more file in changeset.
Require deprecation timeline to be specified when building a deprecation message

    • -12
    • +12
    ./groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy
    • -5
    • +5
    ./groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy
  1. … 70 more files in changeset.
Fix for previous commit.

  1. … 1 more file in changeset.
Serialize the task output `upToDateWhen` spec, if present, to the instant execution cache.

  1. … 5 more files in changeset.
Serialize the task output `upToDateWhen` spec, if present, to the instant execution cache.

  1. … 5 more files in changeset.
Add class parameter to deprecateMethod to hide construction of the subject line

    • -4
    • +4
    ./groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy
  1. … 15 more files in changeset.
Require documentation or explicit undocumented() when nagging of deprecations

    • -12
    • +12
    ./groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy
    • -5
    • +5
    ./groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy
  1. … 62 more files in changeset.
Further encapsulate deprecation message's low level API

    • -1
    • +1
    ./groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy
  1. … 4 more files in changeset.
Remove remaining raw usage of DeprecationMessageBuilder and improve the builder's encapsulation

    • -4
    • +4
    ./groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy
  1. … 3 more files in changeset.
Rename deprecation contextualAdvice to context

    • -1
    • +1
    ./groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy
  1. … 8 more files in changeset.