0

Does anyone know what the correct dependencies are for functional testing with geb in Grails 2.5.0?

I tried version 0.12.0 of the Geb Plugin but I get the following error:

Error running forked test-app: No such property: gebPluginDir for class: _Events

zoran119
  • 10,657
  • 12
  • 46
  • 88

1 Answers1

3

According to the plugin page your BuildConfig.groovy should look something like this...

dependencies {
    compile ":geb:0.12.0"
}

plugins {
    test "org.grails.plugins:geb:0.12.0"
}

Though here is my configuration (I use Spock and grails 2.4.5)...

dependencies {
    test "org.gebish:geb-spock:0.12.0"
}

plugins {
    test ":geb:0.12.0"
}
Jim Chertkov
  • 1,199
  • 12
  • 20
  • good lord...how hard is it for grails plugins developers to get their docs matching their code. LOL – smeeb Oct 12 '15 at 14:03