SamplesJavaTestingIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -4
    • +2
    ./SamplesJavaTestingIntegrationTest.groovy
  1. … 50 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -4
    • +2
    ./SamplesJavaTestingIntegrationTest.groovy
  1. … 98 more files in changeset.
Fix sample dir locations for Java Testing samples integration tests

    • -14
    • +14
    ./SamplesJavaTestingIntegrationTest.groovy
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
    ./SamplesJavaTestingIntegrationTest.groovy
  1. … 99 more files in changeset.
Prevent JUnit Platform samples tests from running on Java 7

    • -0
    • +10
    ./SamplesJavaTestingIntegrationTest.groovy
Fix codenarc failure

    • -1
    • +3
    ./SamplesJavaTestingIntegrationTest.groovy
Add intro and example scenarios to Java testing chapter

I now cover some for the basics of testing so that readers have a foundation

before going into the more specific topics. I have also added some common

scenarios that users encounter, with examples of how to tackle them.

Finally, I've added an integration test for all the samples in this chapter.

    • -0
    • +324
    ./SamplesJavaTestingIntegrationTest.groovy
  1. … 13 more files in changeset.