JUnitPlatformUserGuideIntegrationTest.groovy

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>

    • -18
    • +19
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 18 more files in changeset.
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
    • +1
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 14 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>

    • -18
    • +19
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 23 more files in changeset.
Let testing-jvm tests not use deprecated configurations

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

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

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

    • -1
    • +1
    ./JUnitPlatformUserGuideIntegrationTest.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.

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

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

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

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

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

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

    • -3
    • +3
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 285 more files in changeset.
Add displayName and classDisplayName to TestDescriptor (#4425)

Add displayName and classDisplayName to TestDescriptor

This fixes https://github.com/gradle/gradle/issues/4424 and https://github.com/gradle/gradle/issues/4423

JUnit 5 introduces @DisplayName and dynamic tests, which allows users to

customize test case and test class' name. This should be taken into

account. This PR introduces `displayName` and `classDisplayName` which are

used for display. When rendering HTML reports, these two fields will be used.

    • -51
    • +24
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 33 more files in changeset.
Ignore nested class in JUnit platform test

    • -1
    • +12
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 2 more files in changeset.
Support multiple version of Vintage/Jupiter in JUnitMultiVersion test

    • -1
    • +1
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 13 more files in changeset.
Fix failed tests

    • -19
    • +6
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 7 more files in changeset.
Refine release note and userguide

    • -0
    • +3
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 22 more files in changeset.
Add filtering and tagging support

    • -6
    • +3
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 23 more files in changeset.
Scan for both JUnit 4 and 5 classes

    • -13
    • +34
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 49 more files in changeset.
Support filtering and tagging for Jupiter

    • -0
    • +433
    ./JUnitPlatformUserGuideIntegrationTest.groovy
  1. … 12 more files in changeset.