How to use GEB plugin with cucumber plugin

S

sowmiya

Guest
Hi,
i'm using grails2.1.0 version and i like to do functional testing by using geb and cucumber plugins. While writing in buildconfig.groovy
Code:
plugins {
        ....       
        test ":cucumber:0.7.0"
    }
It creates functional test folder in addition to unit and integration test folders.
But when i tried to install geb plugin as like cucumber in buidconfig.groovy
Code:
     .... 
    checksums true // Whether to verify checksums on resolve
    def gebVersion = "0.7.0"
    def seleniumVersion = "2.21.0"


    repositories {
        inherits true // Whether to inherit repository definitions from plugins


       ....
        grailsCentral()
        mavenLocal()
        mavenCentral()
        mavenRepo "https://nexus.codehaus.org/content/repositories/snapshots"


        
    }
    dependencies {
        
        test("org.seleniumhq.selenium:selenium-htmlunit-driver:$seleniumVersion") {
            exclude "xml-apis"
        }
        test("org.seleniumhq.selenium:selenium-chrome-driver:$seleniumVersion")
        test("org.seleniumhq.selenium:selenium-firefox-driver:$seleniumVersion")


        
        test "org.codehaus.geb:geb-spock:$gebVersion"
        test "org.codehaus.geb:geb-junit4:$gebVersion"
    }
    plugins {
        runtime ":hibernate:$grailsVersion"
        runtime ":jquery:1.7.2"
        runtime ":resources:1.1.6"        
        build ":tomcat:$grailsVersion"
        test ":geb:0.6.3"
    test ":spock:0.6"
        test ":cucumber:0.7.0"
        runtime ":database-migration:1.1"
        compile ':cache:1.0.0'       
        
    }
}
It should generate gebconfig.groovy as test/functional/GebConfig.groovy. but it didn't generated for my trunk.anybody plz help me.
 
Top