Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
    • +1
    ./JUnitMultiVersionIntegrationSpec.groovy
  1. … 18 more files in changeset.
Merge branch 'master' into master

    • -1
    • +1
    ./JUnitMultiVersionIntegrationSpec.groovy
  1. … 8 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
    • +1
    ./JUnitMultiVersionIntegrationSpec.groovy
  1. … 23 more files in changeset.
Fix LifecyclePlugin (#12975)

```

private

fun Project.isRequestedTask(taskName: String) = gradle.startParameter.taskNames.contains(taskName)

```

The old code doesn't handle `codeQuality:allVersionsIntegMultiVersionTest` correctly.

  1. … 9 more files in changeset.
Workaround

  1. … 1 more file in changeset.
Workaround

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

Upgrade JUnit to 4.13, JUnit platform to 5.6.2

    • -1
    • +1
    ./JUnitMultiVersionIntegrationSpec.groovy
  1. … 330 more files in changeset.
Upgrade JUnit

    • -1
    • +1
    ./JUnitMultiVersionIntegrationSpec.groovy
  1. … 329 more files in changeset.
Fix JUnit 4.13 behavior change

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

    • -1
    • +1
    ./JUnitMultiVersionIntegrationSpec.groovy
  1. … 242 more files in changeset.
Fix imports

    • -1
    • +0
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 14 more files in changeset.
Fix imports

    • -1
    • +0
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 14 more files in changeset.
Fix more tests

    • -11
    • +0
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 16 more files in changeset.
Fix more tests

    • -11
    • +0
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 16 more files in changeset.
Remove @ToBeFixedForInstantExecution

    • -2
    • +1
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 25 more files in changeset.
Remove @ToBeFixedForInstantExecution

    • -2
    • +1
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 25 more files in changeset.
Run more JVM testing coverage

only TestNG tests are causing very long timeouts

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

    • -6
    • +24
    ./AbstractJvmFailFastIntegrationSpec.groovy
Rename @ToBeFixedForInstantExecution.value to skip for explicitness

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

    • -6
    • +6
    ./AbstractJvmFailFastIntegrationSpec.groovy
  1. … 36 more files in changeset.
Go over all @ToBeFixedForInstantExecution(Skip.FAILS_IN_SUBCLASS) cases

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

    • -12
    • +12
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 14 more files in changeset.
Add test for the exclude filter fix for JUnitPlatform

    • -0
    • +29
    ./AbstractTestFilteringIntegrationTest.groovy
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -7
    • +7
    ./AbstractJvmFailFastIntegrationSpec.groovy
    • -12
    • +12
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 871 more files in changeset.
Move skip reasons to @FailsWithInstantExecution and drop @IgnoreWithInstantExecution

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

    • -0
    • +7
    ./AbstractJvmFailFastIntegrationSpec.groovy
    • -12
    • +12
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 44 more files in changeset.
Annotate integ tests failing with instant execution in various projects

removing most of @IgnoreWithInstantExecution annotations

after fixing the @FailsWithInstantExecution rule

and more ci feedback

also make @IgnoreWithInstantExecution require a reason from a fixed set

and add it to the remaining ignores

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

    • -7
    • +0
    ./AbstractJvmFailFastIntegrationSpec.groovy
    • -11
    • +11
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 125 more files in changeset.
Annotate integ tests failing with instant execution in :testingJvm

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

    • -0
    • +7
    ./AbstractJvmFailFastIntegrationSpec.groovy
    • -0
    • +12
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 33 more files in changeset.
Annotate integ tests failing with instant execution in :testingJvm

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

    • -0
    • +7
    ./AbstractJvmFailFastIntegrationSpec.groovy
    • -0
    • +12
    ./AbstractTestFilteringIntegrationTest.groovy
  1. … 33 more files in changeset.
Adopt tests to new behavior

    • -1
    • +1
    ./AbstractJvmFailFastIntegrationSpec.groovy
  1. … 1 more file in changeset.
Adopt tests to new behavior

    • -1
    • +1
    ./AbstractJvmFailFastIntegrationSpec.groovy
  1. … 1 more file in changeset.
Adopt tests to new behavior

    • -1
    • +1
    ./AbstractJvmFailFastIntegrationSpec.groovy
  1. … 1 more file in changeset.
Use display name in test logging

Test logging now logs the display name if it is available.

Fixes: #10983

Co-authored-by: Mark Nordhoff <mark.nordhoff@freenet.de>

    • -1
    • +1
    ./AbstractJvmFailFastIntegrationSpec.groovy
  1. … 6 more files in changeset.
Use display name in test logging

Test logging now logs the display name if it is available.

Fixes: #10983

Co-authored-by: Mark Nordhoff <mark.nordhoff@freenet.de>

    • -1
    • +1
    ./AbstractJvmFailFastIntegrationSpec.groovy
  1. … 5 more files in changeset.