Skip to content

grails/grails-functional-tests

Repository files navigation

Functional tests for Grails Core

Java CI

A Suite of functional tests for Grails

To change the Geb driver used to run the functional tests supply the geb.env system property.

./gradlew -Dgeb.env=chromeHeadless iT   

Usage

To test a PR in grails/grails-core with grails-functional-tests before merging:

  1. Publish the PR branch to Maven Local: Run this in grails/grails-core:
./gradlew pTML
  1. Checkout the relevant branch (e.g. 7.0.x) in grails/grails-functional-tests
  2. Add mavenLocal() at the top of the repositories block in the root build.gradle of grails/grails-functional-tests.
    repositories {
    maven { url "https://repo.grails.org/grails/core" }
    mavenCentral()
    if(groovyVersion.endsWith('-SNAPSHOT')) {
    maven {
    name = 'ASF Snapshot repo'
    url = 'https://repository.apache.org/content/repositories/snapshots'
    }
    }
    }
  3. Run the Functional Tests: In grails/grails-functional-tests, run:
./gradlew build
  1. Check the Results: Verify that the build completes successfully.
BUILD SUCCESSFUL in 4m 20s
139 actionable tasks: 124 executed, 15 up-to-date