Release v4.0.0
[skip ci] Release v4.0.0
1 file changed
tree: 8d3ca2a6fed2871d73a6c1e291a639a1c2fd3578
  1. .github/
  2. gradle/
  3. grails-app/
  4. src/
  5. .gitignore
  6. build.gradle
  7. gradle.properties
  8. gradlew
  9. gradlew.bat
  10. LICENSE
  11. README.md
  12. settings.gradle
README.md

Grails Geb Plugin

Java CI

Geb Functional Testing for GrailsĀ® framework

This plugin just provides the Geb dependencies and a create-functional-test command for generating Geb tests in a Grails app. For further reference please see the Geb documentation

Examples

If you are looking for examples check:

Geb/Grails example project

or Grails functional test suite where Geb tests are used extensively.

Additional Drivers

To setup additional drivers you need to add the driver to your build.gradle for example:

testRuntime 'com.github.detro:phantomjsdriver:1.2.0'

Then you need to create a GebConfig.groovy file to your src/test/resources/ directory. For example:

/*
	This is the Geb configuration file.

	See: http://www.gebish.org/manual/current/#configuration
*/
import org.openqa.selenium.chrome.ChromeDriver
import org.openqa.selenium.firefox.FirefoxDriver
import org.openqa.selenium.phantomjs.PhantomJSDriver

waiting {
timeout = 2
}
driver = { new PhantomJSDriver() }