Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (25 sloc) 1.58 KB



Grails plugin to provide additional Sauce Labs support when using Geb.

  1. Test results of pass or fail are updated.
  2. Application name and version are included as the job name and build, unless specified otherwise.
  3. Sauce Connect is started and stopped when functional tests are run. This alleviates the need to run Sauce Connect outside of the grails process.

Include this plugin with the following in BuildConfig.groovy. No configuration is required in Config.groovy. The credentials for Sauce Labs are scraped from SauceLabsDriverFactory.

plugins {
    test(":geb-saucelabs:0.2") {
        excludes "geb-core" // use the application specified geb version

Sauce Connect will need to be provided outside of the Grails process if concurrent test processes are run. Add the following to BuildConfig.groovy to disable Sauce Connect. The tests will pick up an existing Sauce Connect tunnel. See grails-saucelabs-demo for an example of concurrent tests.

grails.plugin.'geb-saucelabs'.useSauceConnect = false


  • 0.1 - Initial revision

  • 0.2 - Upgrade to Grails 2.4.4. Upgrade ci-sauce to 1.90, using version 4.3.6 of the Sauce Connect VPN.

    • Upgrade to Grails 2.5.5, ci-sauce to 1.120, using version 4.3.16 of the Sauce Connect VPN.
You can’t perform that action at this time.