You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/03/31 13:53:01 UTC
(grails-core) branch 7.1.x updated (3d90327a14 -> 7f4cf82c6a)
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 3d90327a14 Merge pull request #15500 from apache/matrei/cleanup-do-with-web
add 002ddee073 feature - support for custom test phases that mirror the integration test phase configuration
add 4f4cd62d9b test - add functional testing demonstrating multiple test phases
add d550a9e680 doc - add documentation for new phase functionality
add b127bdbc61 rat - add missing license headers
add ce64cbe7db feedback - comment & depreciation clean ups
add 1402332134 feedback - project.layout.buildDirectory
add 6cfe015bd7 feedback - do not reference property testPhases on the test Gradle plugin
add 23be0dbd78 feedback - switch to configureEach
add df59d59d9e refactor - change merge test reports & remove older gradle directory for output
add 61fd9019d6 feedback - ensure lazy evaluation support for properties on TestPhase
add 9ae0b93dad feedback - add back missing properties
add 37589da926 feedback - sort test plugins
add bcc96cd9c9 feedback - styling, def, final removal, redundant configure, doc updates
new 7f4cf82c6a Merge pull request #15538 from apache/multipleTestPhases
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
grails-doc/src/en/guide/index.adoc | 5 +
grails-doc/src/en/guide/introduction/whatsNew.adoc | 15 ++
grails-doc/src/en/guide/links.yml | 1 +
.../en/guide/testing/runningTests/withGradle.adoc | 7 +
grails-doc/src/en/guide/testing/testPhases.adoc | 199 +++++++++++++++++++++
grails-doc/src/en/guide/toc.yml | 1 +
grails-gradle/plugins/build.gradle | 6 +
.../plugin/core/IntegrationTestGradlePlugin.groovy | 128 +++----------
.../TestPhase.groovy} | 44 ++---
.../plugin/core/TestPhasesGradlePlugin.groovy | 176 ++++++++++++++++++
.../views/AbstractGroovyTemplatePlugin.groovy | 19 +-
.../build.gradle | 28 ++-
.../grails-app/conf/application.yml | 29 +--
.../grails-app/conf/logback.xml | 10 +-
.../testphases/GreetingController.groovy | 11 +-
.../controllers/testphases}/UrlMappings.groovy | 10 +-
.../grails-app/init/testphases}/Application.groovy | 5 +-
.../services/testphases/GreetingService.groovy | 11 +-
.../GreetingControllerFunctionalSpec.groovy} | 19 +-
.../GreetingServiceIntegrationSpec.groovy} | 19 +-
.../groovy/testphases/GreetingServiceSpec.groovy} | 17 +-
settings.gradle | 34 ++--
22 files changed, 559 insertions(+), 235 deletions(-)
create mode 100644 grails-doc/src/en/guide/testing/testPhases.adoc
copy grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/{views/markup/MarkupViewCompilerTask.groovy => core/TestPhase.groovy} (51%)
create mode 100644 grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/TestPhasesGradlePlugin.groovy
copy grails-test-examples/{issue-698-domain-save-npe => test-phases}/build.gradle (77%)
copy grails-test-examples/{database-cleanup => test-phases}/grails-app/conf/application.yml (65%)
copy grails-test-examples/{hibernate5/grails-multitenant-multi-datasource => test-phases}/grails-app/conf/logback.xml (68%)
copy grails-data-graphql/examples/grails-docs-app/grails-app/domain/demo/Book.groovy => grails-test-examples/test-phases/grails-app/controllers/testphases/GreetingController.groovy (84%)
copy grails-test-examples/{hibernate5/grails-multiple-datasources/grails-app/controllers/datasources => test-phases/grails-app/controllers/testphases}/UrlMappings.groovy (89%)
copy grails-test-examples/{exploded/grails-app/init/exploded => test-phases/grails-app/init/testphases}/Application.groovy (98%)
mode change 100755 => 100644
copy grails-data-graphql/examples/grails-docs-app/grails-app/domain/demo/Book.groovy => grails-test-examples/test-phases/grails-app/services/testphases/GreetingService.groovy (89%)
copy grails-test-examples/{geb/src/integration-test/groovy/org/demo/spock/PageDelegateSpec.groovy => test-phases/src/functional-test/groovy/testphases/GreetingControllerFunctionalSpec.groovy} (74%)
copy grails-test-examples/{hibernate5/grails-data-service/src/integration-test/groovy/example/ServiceInjectionSpec.groovy => test-phases/src/integration-test/groovy/testphases/GreetingServiceIntegrationSpec.groovy} (69%)
copy grails-test-examples/{demo33/src/test/groovy/demo/ConfigServiceSpec.groovy => test-phases/src/test/groovy/testphases/GreetingServiceSpec.groovy} (74%)
(grails-core) 01/01: Merge pull request #15538 from apache/multipleTestPhases
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 7f4cf82c6a842c9ae2e6a4411a63f6e311556cd2
Merge: 3d90327a14 bcc96cd9c9
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Tue Mar 31 09:52:57 2026 -0400
Merge pull request #15538 from apache/multipleTestPhases
Support for Multiple Test Phases
grails-doc/src/en/guide/index.adoc | 5 +
grails-doc/src/en/guide/introduction/whatsNew.adoc | 15 ++
grails-doc/src/en/guide/links.yml | 1 +
.../en/guide/testing/runningTests/withGradle.adoc | 7 +
grails-doc/src/en/guide/testing/testPhases.adoc | 199 +++++++++++++++++++++
grails-doc/src/en/guide/toc.yml | 1 +
grails-gradle/plugins/build.gradle | 6 +
.../plugin/core/IntegrationTestGradlePlugin.groovy | 128 +++----------
.../org/grails/gradle/plugin/core/TestPhase.groovy | 57 ++++++
.../plugin/core/TestPhasesGradlePlugin.groovy | 176 ++++++++++++++++++
.../views/AbstractGroovyTemplatePlugin.groovy | 19 +-
grails-test-examples/test-phases/build.gradle | 55 ++++++
.../test-phases/grails-app/conf/application.yml | 39 ++++
.../test-phases/grails-app/conf/logback.xml | 31 ++++
.../testphases/GreetingController.groovy | 32 ++++
.../controllers/testphases/UrlMappings.groovy | 34 ++++
.../grails-app/init/testphases/Application.groovy | 30 ++++
.../services/testphases/GreetingService.groovy | 30 ++++
.../GreetingControllerFunctionalSpec.groovy | 35 ++++
.../GreetingServiceIntegrationSpec.groovy | 37 ++++
.../groovy/testphases/GreetingServiceSpec.groovy | 36 ++++
settings.gradle | 34 ++--
22 files changed, 880 insertions(+), 127 deletions(-)