testing-base

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 148 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 175 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 179 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 234 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 137 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 234 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 222 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 234 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 225 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 226 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 178 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 132 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 123 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 174 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 122 more files in changeset.
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 <hirabayashi@infoscience.co.jp>

Co-authored-by: Daiki Hirabayashi <gigabowser@hotmail.co.jp>

Signed-off-by: Daiki Hirabayashi <hirabayashi@infoscience.co.jp>

  1. … 11 more files in changeset.
Fix unit test

Add missing `@UsedByScanPlugin` annotations

Polish support for `@DisplayName` in tests

In particular, remove the need to pass a `hasDisplayNameAnnotation` flag

around, which is too specific for the test descriptors.

  1. … 3 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

equivalent).

Fixes #12302

  1. … 5 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

equivalent).

Fixes #12302

  1. … 5 more files in changeset.
Remove runtime only dependencies to :runtimeApiInfo and :apiMetadata

These are in the core of the Gradle distribution and should always

be available at runtime.

  1. … 67 more files in changeset.
Remove hasDisplayNameAnnotation() method from the public API.

Issue: #11445

Signed-off-by: Daiki Hirabayashi <hirabayashi@infoscience.co.jp>

Merge branch 'master' into master

  1. … 7 more files in changeset.
If @DisplayName annotation is attached, output the annotation value to name attribute of testsuite and name attribute of testcase. If @DisplayName annotation is not attached, output the class FQN. In any case, output the class FQN to classname attribute of testcase.

Issue: #11445

Signed-off-by: Daiki Hirabayashi <hirabayashi@infoscience.co.jp>

  1. … 10 more files in changeset.
Add inputs for sample tests (#13153)

Some tests depend on sample directories (for example this one https://github.com/gradle/gradle/blob/96eecdf0f6c6c942470678ef4e2ce325ac3851fa/subprojects/ivy/src/integTest/groovy/org/gradle/api/AutoTestedSamplesIvyIntegrationTest.groovy#L26) but didn't mark them as inputs. This breaks distributed test.

  1. … 20 more files in changeset.
Rename integrationTestUsesSampleDir

  1. … 17 more files in changeset.
Add inputs for sample tests

  1. … 18 more files in changeset.
Add inputs for sample tests

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

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

  1. … 14 more files in changeset.