mercredi 3 août 2016

How do i invoke cucumber test project with gradle?

I am very new to gradle and i am so confused in how to invoke my project so i can run my Cucumber test. What do i do after creating a build.gradle file? my build.gradle looks like this apply plugin: 'java'

dependencies {
    testCompile 'info.cukes:cucumber-java:1.2.4'
    testCompile 'info.cukes:cucumber-junit:1.2.4'
    testCompile 'junit:junit:4.12'
}

repositories {
    mavenCentral()
}

project.ext {
    cucumberVersion = '1.2.4'
    junitVersion = '4.11'
}
test {
    testLogging.showStandardStreams = true
    systemProperties System.getProperties()
}

Aucun commentaire:

Enregistrer un commentaire