Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Fix test following constructor change

Issue #14008

Handle PlaceholderAssertionError in ShortExceptionFormatter

Prior to this commit only `PlaceholderException` was handled which lead

to `PlaceholderAssertionError` being printed to the console by default

in case of assertion errors.

Move ServiceScope and EventScope to :base-annotations

Here we are sharing the concept of event and service scopes by making scopes themselves extensible. This is achieved by replacing the single enum with types. The scope types inherit each other, representing the inheritance between scopes.

  1. … 95 more files in changeset.
Add new subproject for :buildOperations

  1. … 6 more files in changeset.
Stop test filters from hiding suite failures (#13879)

Prior to this commit, failures on the test suite level, e.g. a failing

worker or a failure on the JUnit Platform engine level, was hidden when

a test filter (e.g. using `--tests`) was active and no test method was

actually executed. The root cause was only visible in the HTML test

report while the task failed with "No tests found". Now, the task fails

with "there were failing tests" and points to the report.

Resolves #12073.

  1. … 1 more file in changeset.
Revert "Merge pull request #13636 from gradle/eskatos/cc/revert-testng"

This reverts commit f7a0c902fb63c84e837977da09f3bd1e398e4c75, reversing

changes made to 185167d9457cf251be4c968c09c37ee7a3b24bcb.

  1. … 42 more files in changeset.
Revert "Merge pull request #13595 from gradle/eskatos/cc/testng"

This reverts commit cd63def1e15a2bc678330dce83ae03aee2bb3695, reversing

changes made to 3959191c83afb2bfa0248f97c1e0221c7029b420.

  1. … 38 more files in changeset.
Remove unnecessary `skip = FAILS_CLEANUP_ASSERTIONS` from remaining tests

  1. … 2 more files in changeset.
Add `FAILS_CLEANUP_ASSERTIONS` to `XCTestTestFrameworkIntegrationTest`

  1. … 1 more file in changeset.
Remove @ToBeFixed in TestNGTestFrameworkIntegrationTest

Signed-off-by: Paul Merlin <>

  1. … 1 more file in changeset.
Remove @ToBeFixed in TestExecutionBuildOperationsIntegrationTest

Signed-off-by: Paul Merlin <>

Document reason for @ToBeFixedForInstantExecution in :testingBase

Signed-off-by: Paul Merlin <>

Add support for test `@DisplayName` (#13250)

If @DisplayName annotation is attached, output the value to test result XML.

* Recognize contributor

* Add missing `@UsedByScanPlugin` annotations

Co-authored-by: Daiki Hirabayashi <>

Co-authored-by: Daiki Hirabayashi <>

Signed-off-by: Daiki Hirabayashi <>

  1. … 11 more files in changeset.
Add dedicated placeholder assertion error type

This commit introduces a dedicated placeholder assertion error

type which is used whenever a subtype of `AssertionError` cannot

be deserialized. Before, we would use the regular `PlaceholderException`,

which happens to discard the fact that it's an `AssertionError`.

The consequence is that IntelliJ IDEA in combination with Spock can't

infer the correct failure kind, and displays a wrong icon (see #12302).

It does not, however, fix the problem that the "Click here to see diff"

link doesn't show up. The reason is that this feature builds on top

of a dedicated subtype of `AssertionError` that the messaging bus

isn't aware of (org.opentest4j.AssertionFailedError and its legacy JUnit


Fixes #12302

  1. … 5 more files in changeset.
Add explaining `because` to tests failing with the configuration cache

Signed-off-by: Paul Merlin <>

  1. … 14 more files in changeset.
Replace `ParallelismConfigurationListener` and `ParallelismConfigurationManager` and some mutable state with a service of type `ParallelismConfiguration`.

  1. … 31 more files in changeset.
Introduce internal `@EventScope` annotation to attach to listener interfaces to declare which scope their events are generated in.

Add some validation to `ListenerManager` to verify that each listener interface is annotated with the correct scope.

  1. … 60 more files in changeset.
Annotate internal APIs used by test-distribution (#13010)

In order to avoid accidentally changing an internal API without

adjusting the test-distribution plugin, they are now annotated with


  1. … 22 more files in changeset.
Upgrade JUnit version (#12924)

Upgrade JUnit to 4.13, JUnit platform to 5.6.2

  1. … 329 more files in changeset.
Address compiler warnings in 'testing-base' subproject

  1. … 1 more file in changeset.
Rename 'modularClasspathHandling' -> 'modularity'

  1. … 55 more files in changeset.
Pull module path calculation into Test task (#12685)

This way, the JvmTestExecutionSpec already carries the final

classpath and module path. This makes is easier to create alternative

test worker implementations based on the spec.

  1. … 9 more files in changeset.
Adjust tests following changes to internal interfaces

  1. … 2 more files in changeset.
Add module path handling to test task and underlying infrastructure

This adds a module path handling input property to the test task

and passes it to the worker process builder, which is responsible

for starting up a test workers. It will be used there to determine

if the test worker should run as module.

  1. … 20 more files in changeset.
Revert "Add dark mode on HTML test report (#12177)"

This reverts commit 87d4c59c0a1a35559bc5167ea1c3f2b76565dc36.

  1. … 1 more file in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)


This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

  1. … 405 more files in changeset.
Fix tasks and plugins that were using Task.project at execution time

Signed-off-by: Paul Merlin <>

  1. … 23 more files in changeset.
Add dark mode on HTML test report (#12177)

Add dark mode for HTML test report based on media queries level 5 and prefers-color-scheme

Issue: #12103

  1. … 1 more file in changeset.
Go over all @ToBeFixedForInstantExecution(Skip.FAILS_IN_SUBCLASS) cases

Signed-off-by: Paul Merlin <>

  1. … 14 more files in changeset.

Signed-off-by: Paul Merlin <>

  1. … 5 more files in changeset.