Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove support for connecting to Gradle <2.6

  1. … 146 more files in changeset.
Introduce internal TestKit API for passing in standard input (#3085)

  1. … 6 more files in changeset.
Fix bug that was preventing the default test kit dir being unique per user.

  1. … 1 more file in changeset.
Move to subpackage

+review REVIEW-5698

  1. … 6 more files in changeset.
Update docs and add missing test case

+review REVIEW-5698

  1. … 2 more files in changeset.
Fail the build if build result output is accessed with Gradle < 2.9 in debug mode

+review REVIEW-5698

  1. … 16 more files in changeset.
Only fail test execution for features when they are used

TestKit aims to be able to execute builds with fairly old Gradle target versions e.g. 1.0. However, particular TestKit features might not be available for a specific target Gradle versions. In those cases throw an exception when a functionality is accessed by the user but allow the actual execution of the build.

+review REVIEW-5698

  1. … 9 more files in changeset.
No need to duplicate the class. Simply reuse what we have in the wrapper module and move test over there.

+review REVIEW-5653

  1. … 3 more files in changeset.
Some of the test cases do create the test directory. Instead of creating it in the project directory create it in the integration test tmp directory.

+review REVIEW-5653

Cut off dependency to modules "core" and "wrapper". For now we still have a dependency on "base-services" which we need to get rid of.

- Inline Gradle user home lookup class into "test-kit" module.

- Duplicate GradleDistributionLocator functionality in "tooling-api" module.

+review REVIEW-5653

  1. … 8 more files in changeset.
Allow controlling the Gradle runtime to be used with GradleRunner via withGradleVersion(String) methods etc. opposed to an opaque sealed type protocol.

+review REVIEW-5644

  1. … 24 more files in changeset.
Improvements to the handling of build output with GradleRunner.

- Don't separate stdout and stderr for the output component of the build result

- Have forwardOutput() forward stdout and stderr to the System.out of the client (opposed to splitting)

- Rename to forwardStdOut() and forwardStdErr()

- Don't treat Tooling API connection failures as failed builds

- De-tangle the IO object pieces so that they make sense in isolation

- When forwarding from the build to the clients stdout, don't encode just to decode again (i.e. passthru)

- Polish on the Javadoc and release notes for this feature

+review REVIEW-5654

  1. … 28 more files in changeset.
Don't duplicate the underlying exception for an unexpected build result in the message of the unexpected build result exception.

+review REVIEW-5654

  1. … 3 more files in changeset.
Simplify testkit debug on/off test fixtures.

+review REVIEW-5615

  1. … 14 more files in changeset.
Decoupled daemon/embedded from debug/no debug to avoid convolution. In the future there might be other variants we provide to the end user e.g. daemon with debug.

+review REVIEW-5615

  1. … 12 more files in changeset.
Remove generics as it's not needed anymore.

+review REVIEW-5644

  1. … 8 more files in changeset.
Make Gradle distribution types internal. Expose factory method for creation.

+review REVIEW-5644

    • -0
    • +30
    ./gradle/testkit/runner/internal/GradleDistributionTest.groovy
  1. … 14 more files in changeset.
Polishing.

+review REVIEW-5644

  1. … 3 more files in changeset.
Introduce toString methods to allow users to simply print out fields for easier diagnosing the root cause of a failed test.

+review REVIEW-5636

    • -0
    • +30
    ./gradle/testkit/runner/internal/DefaultBuildTaskTest.groovy
  1. … 2 more files in changeset.
Polishing and more testing.

+review REVIEW-5654

  1. … 4 more files in changeset.
Changed interface to provide Writer instances instead of OutputStreams.

+review REVIEW-5654

  1. … 7 more files in changeset.
Expose methods for providing output streams for capturing standard output and error.

+review REVIEW-5654

  1. … 5 more files in changeset.
Download Gradle distributions as little as possible by sharing the TestKit directory.

+review REVIEW-5644

  1. … 3 more files in changeset.
Initial cut for providing a Gradle distribution to execute functional tests.

+review REVIEW-5644

    • -0
    • +63
    ./gradle/testkit/runner/internal/GradleRunnerTest.groovy
  1. … 12 more files in changeset.
Polishing.

+review REVIEW-5615

  1. … 7 more files in changeset.
Remove testkit debugging constant from public API.

+review REVIEW-5615

  1. … 2 more files in changeset.
Windows fix.

+review REVIEW-5570

Windows fix.

+review REVIEW-5570

Rename GradleRunner.classpath to pluginClasspath

+review REVIEW-5570

  1. … 6 more files in changeset.
Model the classpath to inject into test builds as a list of files instead of a URLs.

+review REVIEW-5570

  1. … 25 more files in changeset.