使用 geb 进行功能测试的依赖项
Dependencies for functional testing with geb
有谁知道在 Grails 2.5.0
中使用 geb
进行功能测试的正确依赖项是什么?
我尝试了 Geb Plugin 的 0.12.0
版本,但出现以下错误:
Error running forked test-app: No such property: gebPluginDir for
class: _Events
根据 plugin page 你的 BuildConfig.groovy 应该看起来像这样...
dependencies {
compile ":geb:0.12.0"
}
plugins {
test "org.grails.plugins:geb:0.12.0"
}
尽管这是我的配置(我使用 Spock 和 grails 2.4.5)...
dependencies {
test "org.gebish:geb-spock:0.12.0"
}
plugins {
test ":geb:0.12.0"
}
有谁知道在 Grails 2.5.0
中使用 geb
进行功能测试的正确依赖项是什么?
我尝试了 Geb Plugin 的 0.12.0
版本,但出现以下错误:
Error running forked test-app: No such property: gebPluginDir for class: _Events
根据 plugin page 你的 BuildConfig.groovy 应该看起来像这样...
dependencies {
compile ":geb:0.12.0"
}
plugins {
test "org.grails.plugins:geb:0.12.0"
}
尽管这是我的配置(我使用 Spock 和 grails 2.4.5)...
dependencies {
test "org.gebish:geb-spock:0.12.0"
}
plugins {
test ":geb:0.12.0"
}