geb / Geb Example Gradle
Licence: apache-2.0
An example project for using Geb in a Gradle build (Spock and JUnit 4)
Stars: ✭ 196
Programming Languages
groovy
2714 projects
Example Geb and Gradle Project
Description
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 Firefox and Chrome. Have a look at the build.gradle
and the src/test/resources/GebConfig.groovy
files.
Usage
The following commands will launch the tests with the individual browsers:
./gradlew chromeTest
./gradlew firefoxTest
To run with all, you can run:
./gradlew test
Replace ./gradlew
with gradlew.bat
in the above examples if you're on Windows.
Questions and issues
Please ask questions on Geb user mailing list and raise issues in Geb issue tracker.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].