Example Geb and Grails 2 Project
This is an example of using Geb to functionally test Grails applications. It shows the use of Spock and JUnit 4 tests.
Grails Wrapper is a part of this example which means that you don't need to have Grails installed on your machine. It also means that the Grails version used to run it will be the one this project is tested with.
The build is setup to work with Firefox.
To run the tests you can execute:
./grailsw test-app functional:
grailsw in the above examples if you're on Windows using
cmd.exe (with powershell, the above statement should work).