Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use 'implementation' dependencies everywhere

    • -27
    • +27
    ./fixtures/JUnitTestClassExecutionResult.groovy
    • -1
    • +1
    ./fixtures/JUnitXmlTestExecutionResult.groovy
  1. … 284 more files in changeset.
Add a functional test suite to the Gradle plugin builds generated by the build init plugin.

    • -1
    • +1
    ./fixtures/DefaultTestExecutionResult.groovy
  1. … 13 more files in changeset.
Add a functional test suite to the Gradle plugin builds generated by the build init plugin.

    • -1
    • +1
    ./fixtures/DefaultTestExecutionResult.groovy
  1. … 13 more files in changeset.
Add a functional test suite to the Gradle plugin builds generated by the build init plugin.

    • -1
    • +1
    ./fixtures/DefaultTestExecutionResult.groovy
  1. … 13 more files in changeset.
Add support for executing test classes in parallel via JUnit Platform

Fixes #6453.

    • -0
    • +2
    ./fixtures/HtmlTestExecutionResult.groovy
  1. … 12 more files in changeset.
Update jsoup to 1.11.3

jsoup no longer converts Windows line separators to Unix ones. Thus, a

few test reporting test fixtures had to be adjusted.

    • -8
    • +10
    ./fixtures/HtmlTestExecutionResult.groovy
  1. … 5 more files in changeset.
Make xctest fatal errors only fail the test and change execution failure test name

    • -1
    • +1
    ./fixtures/HtmlTestExecutionResult.groovy
    • -1
    • +2
    ./fixtures/JUnitTestClassExecutionResult.groovy
  1. … 5 more files in changeset.
Ensure that all children TestState are completed() (#4752)

* Ensure that all children TestState are completed()

With fail fast for tests enabled, some of the `TestState`s tracked

by the `StateTrackingTestResultProcessor` may never receive the

`completed()` call. When this happens, the parent/ancester

`TestState` will not include the test count and failure information.

When combined with a `--tests` filter, this can cause an erroneous

failure message that no tests matched the filter.

This change ensures that all of the children/descendents of a `testId`

(`TestState`) are `completed` before the given `testId` is processed.

Addresses: #4718

* Use ArrayList<> instead of LinkedList<>

    • -0
    • +9
    ./fixtures/DefaultTestExecutionResult.groovy
    • -0
    • +4
    ./fixtures/HtmlTestExecutionResult.groovy
    • -0
    • +6
    ./fixtures/JUnitTestClassExecutionResult.groovy
    • -0
    • +2
    ./fixtures/TestClassExecutionResult.java
  1. … 4 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.

    • -0
    • +24
    ./fixtures/DefaultTestExecutionResult.groovy
    • -36
    • +85
    ./fixtures/HtmlTestExecutionResult.groovy
    • -0
    • +19
    ./fixtures/JUnitTestClassExecutionResult.groovy
    • -1
    • +8
    ./fixtures/TestClassExecutionResult.java
  1. … 30 more files in changeset.
Stop test execution after first failure (#4190)

* Rough pass at stopNow() on test failure

* Updated worker TestClassProcessor.stopNow() to throw UnsupportedOperationException

* Updated MaxNParallelTestClassProcessor to keep "raw" processors for stopNow().

Updated other daemon-side TestClassProcessors to keep track if stopNow() is called.

* Added AbstractTestTask.getFailFast()

* Added some unit tests for to TestClassProcessors

* Added unit tests for stopNow()

* Rough pass at JUnitFailFastIntegrationTest

* Refactor fail fast JVM integration test.

Moved common logic/tests from JUnitFailFastIntegrationTest into AbstractJvmFailFastIntegrationSpec.

Added TestNGFailFastIntegrationTest (which extends TestNGFailFastIntegrationTest)

* Working on forkEvery fail fast test

* Converted FailFastTestListener to FailFastTestListenerInternal

* Added BlockingHttpServer.expectMaybeAndBlock()

* TestNG parallel & fail-fast integration test

* Remove unused import

* Remove unused import

* Marked test.failFast as @Input

* Added `failFast` to java_plugin in userguide

* Javadoc & formatting changes

* Updated userguide docs based on review comments

* Moved `failFast` configuration from `AbstractTestTask` to `Test` to avoid `XCTest`

* Updates from review comments

* More updates from review comments

* Reduced Mock() usage in FailFastTestListenerInternalTest

* Backed out changes to XCTestExecuter for fail fast behavior

* Fixed typo in javadoc

* Remove --no-fail-fast `@Option` from `Test`

* Reduce mocking expectations in ForkingTestClassProcessorTest

* Moved @Internal from Test.getFailFast() to AbstractTestTask

* Formatting updates

* Updated ForkingTestClassProcessor to track state more precisely to avoid stop() & stopNow() problem

* Fixed tests (again)

* Better handling of mutual exclusion between ForkingTestClassProcessor stop() and stopNow() sections

* Improved resiliency to indeterminate generated test class execution in fail fast tests

* Optimized imports

* Updated DefaultWorkerProcess.cleanup() to stop the Stoppables before aborting the execHandle

* Changed CyclicBarrierAnyOfRequestHandler.expected back to `private`

* ForkingTestClassProcessor.stoppedNow does not need to be `volatile` as it is now protected by a lock

* Added JUnitPlatformTestClassProcessor.stopNow()

* Removed mention of --no-fail-fast from user guide

* Added info on --fail-fast to release notes

* Fixed use of `testOmitted` in AbstractJvmFailFastIntegrationSpec

* Make MaxNParallelTestClassProcessor drop any processTestClass() invocations after stopNow()

* Protected critical region in ForkingTestClassProcessor.processTestClass() causing race condition with stopNow() in tests

* Debugging cleanup

    • -0
    • +19
    ./fixtures/DefaultTestExecutionResult.groovy
    • -0
    • +25
    ./fixtures/HtmlTestExecutionResult.groovy
    • -1
    • +25
    ./fixtures/JUnitTestClassExecutionResult.groovy
    • -0
    • +5
    ./fixtures/JUnitXmlTestExecutionResult.groovy
    • -0
    • +7
    ./fixtures/TestClassExecutionResult.java
  1. … 36 more files in changeset.
Minor changes for review

    • -10
    • +10
    ./fixtures/DefaultTestExecutionResult.groovy
    • -5
    • +5
    ./fixtures/HtmlTestExecutionResult.groovy
    • -2
    • +2
    ./fixtures/JUnitTestClassExecutionResult.groovy
  1. … 3 more files in changeset.
Fix failed test after using "Display Name" in Junit 5

    • -7
    • +18
    ./fixtures/DefaultTestExecutionResult.groovy
    • -5
    • +7
    ./fixtures/HtmlTestExecutionResult.groovy
    • -4
    • +6
    ./fixtures/JUnitTestClassExecutionResult.groovy
  1. … 8 more files in changeset.
Simplify a test where clause

    • -1
    • +3
    ./fixtures/HtmlTestExecutionResult.groovy
  1. … 1 more file in changeset.
Merge branch 'sg/native/xctest-coverage'

* sg/native/xctest-coverage:

Fix test

Fix test breakages that expected to be able to write into the HTML report directory

Add more test coverage for XcTest and testing frameworks

    • -0
    • +5
    ./fixtures/JUnitXmlTestExecutionResult.groovy
Add more test coverage for XcTest and testing frameworks

- When a test class is removed, make sure the intermediate report files are also removed.

- When no tests are found, make sure the test results have no classes listed.

- When tests are executed, make sure that only those tests are included in the report.

- When a test fails, make sure the failure is included in the report.

    • -2
    • +14
    ./fixtures/DefaultTestExecutionResult.groovy
    • -1
    • +11
    ./fixtures/HtmlTestExecutionResult.groovy
    • -0
    • +5
    ./fixtures/JUnitXmlTestExecutionResult.groovy
  1. … 8 more files in changeset.
Fix scraping of XcTest output when test suite or test names have non-alphanum characters

    • -5
    • +4
    ./fixtures/JUnitXmlTestExecutionResult.groovy
  1. … 3 more files in changeset.
Fix some tests that rely on a test executor with a specific ID

    • -0
    • +4
    ./fixtures/DefaultTestExecutionResult.groovy
    • -1
    • +5
    ./fixtures/HtmlTestExecutionResult.groovy
    • -0
    • +15
    ./fixtures/JUnitXmlTestExecutionResult.groovy
  1. … 11 more files in changeset.
Wait before testing the server connection for unavailability again

Rebase with master

Use a retry logic for UrlValidator.notAvailable

Revert previous commit.

Catch IOException instead to determine if an URL is available

This minimize the chance of a random listener that push garbage through

the socket.

Try to return more information on URL unavailable failures

include task name in test report/result folder when using java plugin

    • -4
    • +9
    ./fixtures/DefaultTestExecutionResult.groovy
    • -1
    • +1
    ./fixtures/HtmlTestExecutionResult.groovy
    • -2
    • +2
    ./fixtures/JUnitXmlTestExecutionResult.groovy
  1. … 9 more files in changeset.
Make sure that we have a separate report directory for each binary variant of the component under test

Story: gradle/langos#113

    • -3
    • +5
    ./fixtures/DefaultTestExecutionResult.groovy
  1. … 3 more files in changeset.
Changing PollingConditions.poll() usages to ConcurrentTestUtil.poll()

+review REVIEW-5540

  1. … 13 more files in changeset.
Fixing issue with change from milliseconds to seconds in URLvalidator

+review REVIEW-5510

  1. … 4 more files in changeset.
Adding tooling tests for play continuous build

+review REVIEW-5510

  1. … 7 more files in changeset.
Added integration test for Play multiproject sample

  1. … 2 more files in changeset.
Simplified construction of JUnitXmlTestExecutionResult in tests

    • -1
    • +1
    ./fixtures/DefaultTestExecutionResult.groovy
    • -14
    • +9
    ./fixtures/JUnitXmlTestExecutionResult.groovy
  1. … 2 more files in changeset.
Changing UrlValidator to verify text and binary files differently. Moved TextUtil to base-services so it can be used from internal-testing.

+review REVIEW-5272

  1. … 6 more files in changeset.