BuildSrcSpockIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Correctly recognize JUnit Vintage test descriptor

This fixes https://github.com/gradle/gradle/issues/4358

If a test class has two method descriptor with same name, Vintage Engine

will name them as "testMethod(org.gradle.TestClass)[0]", which can't

be recognized. This PR updates the regular expression to recognize it.

    • -2
    • +34
    ./BuildSrcSpockIntegrationTest.groovy
  1. … 2 more files in changeset.
Fix bugs when integrating with running Vintage engine on Spock @Unroll test

Vintage engine will trigger events with type 'TEST' for both test class

and test method, which might cause test hang unexpectedly. This PR identifies

these different test events and fixes this issue.

    • -0
    • +39
    ./BuildSrcSpockIntegrationTest.groovy
  1. … 3 more files in changeset.
Fix failed tests

  1. … 7 more files in changeset.
Scan for both JUnit 4 and 5 classes

  1. … 49 more files in changeset.
On CI redirect jcenter queries to local repo for integration tests

  1. … 51 more files in changeset.
Upgrade Spock to version 1.1-groovy-2.4-rc-3

  1. … 16 more files in changeset.
Reproduce build failure when including Kotlin support

    • -0
    • +78
    ./BuildSrcSpockIntegrationTest.groovy