UserGuideSamplesRunner.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix failed UserGuideSamplesRunner tests (#5517)

These tests are failing on Java 9+:

- userguide/tutorial/properties: env variables can't be reset.

- signing/maven-publish: extra javadoc warning

  1. … 5 more files in changeset.
Externalize samples testing infrastructure

This change replaces UserGuideSamplesRunner with an external library

called sample-check. Sample discovery, execution, and normalization

is delegated to this library, with some custom normalizers remaining

in the Gradle codebase.

Samples output has become co-located with the sample code. Samples tests

must be run with Java 8+.

  1. … 782 more files in changeset.
Always use plain console with sample test runner

Add testing of error output to user guide samples

  1. … 4 more files in changeset.
Only test samples on Java 8

Kotlin samples only work on Java 8+

Fix user guide sample output comparison when build runs longer than 1 second.

  1. … 2 more files in changeset.
Fix expected user guide sample outputs for changes to log output.

  1. … 5 more files in changeset.
Remove remaining references to org.gradle.integtest.unknownos

We do not use this anymore.

  1. … 1 more file in changeset.
Do not promote the software model as the future of Gradle in user guide (#4334)

  1. … 58 more files in changeset.
Non-Gradle doc samples shouldn't be tested (#3569)

  1. … 4 more files in changeset.
Refine deprecation mechanism (#3285)

Refine deprecation mechanism

Fix https://github.com/gradle/gradle/issues/3228

  1. … 35 more files in changeset.
Deprecate --no-rebuild (#3077) (#3121)

https://github.com/gradle/gradle/issues/3077

This option was introduced in very early version of Gradle when up-to-date

checking was still rather expensive, which is no longer the case.

This PR now deprecates it.

  1. … 8 more files in changeset.
Document how to configure the build cache by an init script (#2945)

  1. … 3 more files in changeset.
Add Java 6/7 cross compilation guide in Java plugin user guide

  1. … 7 more files in changeset.
Add Java 6/7 cross compilation guide in Java plugin user guide

  1. … 7 more files in changeset.
Remove redundant deprecation warning expectations

  1. … 24 more files in changeset.
Re-activate user guide samples integration tests

- Adjusted expected output according to new console

- Updated 'jacoco' and 'source set' samples to not use deprecated API

  1. … 83 more files in changeset.
Document how to configure the build cache

+review REVIEW-6476

  1. … 8 more files in changeset.
Fix samples that should no longer expect a build directory

+review REVIEW-6424

  1. … 5 more files in changeset.
Try to better expect failure for CUnit test failure

Correctly ignore failing test for the user guide samples on Windows

  1. … 1 more file in changeset.
Restore all userguide tests executions

Fix expectation in userguide sample test

  1. … 1 more file in changeset.
Extract samples task

Every UserGuideTransformTask was generating `samples.xml`,

probably with different content. We extract the task to create

`samples.xml` and by this we can make it cacheable.

+review REVIEW-6371

  1. … 7 more files in changeset.
Wire integration test build context instance

- enables using performance test specific build context when an instance

is properly wired

  1. … 48 more files in changeset.
Deprecate left shift operator on Task

Change test cases accordingly.

+review REVIEW-6236

  1. … 6 more files in changeset.
Web application tests expect a deprecation message from Jetty plugin

+review REVIEW-6139

  1. … 2 more files in changeset.
Fix ScalaCrossCompilationIntegrationTest

+review REVIEW-6046

  1. … 1 more file in changeset.
Do not test cross compilation samples on Windows

+review REVIEW-6046

Add documentation for Groovy on Java 6

+review REVIEW-6046

  1. … 10 more files in changeset.