JUnitPlatformSampleIntegrationTest.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>

    • -1
    • +1
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 18 more files in changeset.
Merge branch 'master' into master

    • -7
    • +4
    ./JUnitPlatformSampleIntegrationTest.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
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 23 more files in changeset.
Standardize junitplatform snippets

    • -4
    • +4
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 74 more files in changeset.
Standardize junitplatform snippets

    • -4
    • +4
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 74 more files in changeset.
Remove always-true JDK8_OR_LATER test precondition

    • -3
    • +0
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 41 more files in changeset.
Fix test failures caused by adjustment of sample directory structure

Yesterday we adjusted some samples' directory structure, which resulted in several failures.

This commit fixes them.

    • -4
    • +4
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 2 more files in changeset.
Use external repository mirrors in build (#6094)

We've been bitten by external repository fluctuation for a long time.

This PR makes most of tests use repository mirrors set up by ourselves

via init script and system property.

There're still some tests not switching to mirrors, which would be fixed

in follow-up commits.

    • -2
    • +2
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 99 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.

    • -5
    • +5
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 33 more files in changeset.
Add test engine filter to documentation (#4598)

Add test engine filter to documentation

    • -2
    • +16
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 10 more files in changeset.
Polish PR on feedback

    • -1
    • +2
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 9 more files in changeset.
Normalize output when test case name contains parentheses

    • -0
    • +3
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 14 more files in changeset.
Refine release note and userguide

    • -0
    • +74
    ./JUnitPlatformSampleIntegrationTest.groovy
  1. … 22 more files in changeset.