zoran119
zoran119

Reputation: 11307

Dependencies for functional testing with geb

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

Upvotes: 0

Views: 289

Answers (1)

Jim Chertkov
Jim Chertkov

Reputation: 1229

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"
}

Upvotes: 3

Related Questions