https://github.com/applitools/groovy-example
Simple Groovy Gradle Example
https://github.com/applitools/groovy-example
Last synced: 8 months ago
JSON representation
Simple Groovy Gradle Example
- Host: GitHub
- URL: https://github.com/applitools/groovy-example
- Owner: applitools
- License: apache-2.0
- Created: 2018-04-03T17:36:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-28T19:15:39.000Z (over 7 years ago)
- Last Synced: 2025-01-17T04:47:04.067Z (over 1 year ago)
- Language: Groovy
- Size: 57.6 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Example Geb and Gradle Project
[![Build Status][build_status]](https://circleci.com/gh/geb/geb-example-gradle/tree/master)
## 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][mailing_list] and raise issues in [Geb issue tracker][issue_tracker].
[build_status]: https://circleci.com/gh/geb/geb-example-gradle/tree/master.svg?style=shield&circle-token=38eb8de9af8f889922b91624a7943c474c0c3617 "Build Status"
[mailing_list]: https://groups.google.com/forum/#!forum/geb-user
[issue_tracker]: https://github.com/geb/issues/issues