Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 458 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 458 Bytes

This is an example of incorporating Geb into a Gradle build. It shows the use of Spock and JUnit 4 tests.

The build is setup to work with HTMLUnit, FireFox and Chrome. Have a look at the build.gradle and the src/test/resources/GebConfig.groovy files.

The following commands will launch the tests with the individual browsers:

./gradle htmlunitTest
./gradle chromeTest
./gradle firefoxTest

To run with all, you can run:

./gradle test