Features

  • From Gradle 2.13+ GradleTestKit is used to run compatibility tests

  • For Gradle 2.12 and earlier, legacy mode (from v0.5.5) is used for running tests.

  • #1 - Graceful failure when tests have not passed

  • #2 - HTML test report

  • #3 - Running counter of tests being executed

  • #4 - Capture test output and add to test report

  • #5 - Allow tests to be executed in parallel

  • #52 - Allow for expected failure cases

  • #54 - Added base plugin org.ysb33r.gradletest.base.

  • #62 - Propagate --rerun-tasks down to test instances.

  • #67 - org.ysb33r.gradlerunner plugin provides gradleRunner task which can interleave different steps with independent Gradle executions.

  • #79 - Make Gradle deprecation messages fail tests.

  • #82 - Test Kotlin-based scripts if Gradle is 4.0+

Bugs

  • #26 - Unable to build gradleTest project with Gradle 2.1+.

  • #34 - Distribution URI fails with File paths under Windows.

  • #35 - TestGenerator is not correctly substituting paths in initscript under Windows.

  • #38 - TestGenerator is not correctly substituting paths in generated test source code under Windows.

  • #41 - gradleTest configuration is broken.

  • #42 - GradleTest HTML reports should not overwrite over Test task reports.

  • #45 - When there is no src/gradleTest the build fails.

  • #46 - When folders below src/gradleTest contain non-word characters, compilation of test classes fails.

  • #47 - Classpath not correctly resolved under test.

  • #48 - When copying gradleTest folders maintain same permissions

  • #49 - When folders below gradleTest are removed, generated code should be removed too.

  • #53 - Skip test generation if src/gradleTest does not exist.

  • #57 - Transitive dependencies for pluginsare not injected into classpath.

  • #59 - GradleTest does not detect new folders if previous task completed successfully

  • #74 - Plugin resolves configuration gradleRunnerclasspath$$ at configuration time.

Other

  • #12 - Fixed Javadoc errors.

  • #36 - Integration test for GradleTest failure under M$ Windows.

  • #37 - Integration test for legacy20.GradleTest failure under M$ Windows.

  • #40 - Added gh-pages-based .

  • #44 - If license plugin is applied, exclude GradleTest sourcesets from check.

  • #50 - Removed the use of deprecated TaskInputs.source(Object) when running under Gradle 3.0+.

  • #51 - Compatibility test for multi-project scenarios.

  • #55 - Memory: Split compatiblity tests into smaller runs on Appveyor.

  • #56 - Memory: Use virtual image rather than container on TravisCI.

  • #60 - Mention alternative approaches to GradleTest.

  • #61 - Validate support for Gradle 3.3.

  • #63 - Documented --offline behaviour.

  • #65 - Documented CodeNarc plugin behaviour.

  • #78 - Fix various deprecation messages with Gradle 4.x.