Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 967 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 967 Bytes

GebDemo

This is a Grails app to aid in the learning of functional testing using Geb. All the dependencies and plugins are set up in the BuildConfig.groovy.

There is also a Geb Presentation powerpoint in this repository to walk you through set up and basic Geb functionality.

Important note: be sure to download the chrome webdriver to be able to run the functional tests in the app. You may need to change the path to your webdriver in the GebConfig.groovy class.

Command for running all functional tests with default configurations: grails dev test-app functional:

To specify grails environments: grails dev test-app -Dgrails.env=backupDB functional:

To specify a geb environment in the GebConfig.groovy class: grails dev -Dgeb.env=chrome test-app functional:

To specify a certain spec file: grails dev test-app functional: GebDemoSpec