This project simplifies executing Spock and Geb-based frontend tests.
Out of the box:
Run the sample tests:
gradlew :spock-geb-quickstart-simple-example:test
gradlew :spock-geb-quickstart-more-examples:acceptanceTests
Run tests with a dockerized browser:
application.yml
as below:# replace this setting:
browser-type: local
# with this one:
browser-type: docker
gradlew :spock-geb-quickstart-simple-example:test
Check the test results:
spock-geb-quickstart-simple-example/build/geb-spock-reports/index.html
spock-geb-quickstart-more-examples/build/geb-spock-reports/index.html
View the sample test projects:
Read more:
By default, the tests will trust any invalid SSL certificates. This will be fixed in a future release.
Everyone is warm welcome to contribute! \ Please make sure to read the Contributing Guide and Code of Conduct before making a pull request.
Project is released under Apache License, Version 2.0 license.