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
To test a PR in grails/grails-core with grails-functional-tests before merging:
- Publish the PR branch to Maven Local: Run this in grails/grails-core:
./gradlew pTML
- Checkout the relevant branch (e.g. 7.0.x) in grails/grails-functional-tests
- Add
mavenLocal()
at the top of the repositories block in the rootbuild.gradle
ofgrails/grails-functional-tests
.grails-functional-tests/build.gradle
Lines 26 to 35 in 2df395b
- Run the Functional Tests: In grails/grails-functional-tests, run:
./gradlew build
- Check the Results: Verify that the build completes successfully.
BUILD SUCCESSFUL in 4m 20s
139 actionable tasks: 124 executed, 15 up-to-date