Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 1.99 KB

README.md

File metadata and controls

66 lines (43 loc) · 1.99 KB

Spock Geb Quickstart

Build Status License

This project simplifies executing Spock and Geb-based frontend tests.

Features

Out of the box:

Getting Started

Run the sample tests:

gradlew :spock-geb-quickstart-simple-example:test
gradlew :spock-geb-quickstart-more-examples:acceptanceTests

Run tests with a dockerized browser:

  1. update the 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:

  1. Simplest possible project
  2. A more complicated project, with multiple source sets

Read more:

  1. Simple introduction: https://craigatk.github.io/spock-geb-intro/#/31
  2. Full docs: http://www.gebish.org/manual/current/

Known issues

By default, the tests will trust any invalid SSL certificates. This will be fixed in a future release.

Contribution

Everyone is warm welcome to contribute!
Please make sure to read the Contributing Guide and Code of Conduct before making a pull request.

License

Project is released under Apache License, Version 2.0 license.