-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (55 loc) · 1.63 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'net.serenity-bdd.aggregator'
repositories {
mavenCentral()
}
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath("net.serenity-bdd:serenity-gradle-plugin:1.1.1")
}
}
def cucumberVersion = "1.2.4"
//configurations {
// cucumberRuntime {
// extendsFrom testRuntime
// }
//}
//
//task acceptanceTests() {
// doLast {
// javaexec {
// main = "cucumber.api.cli.Main"
// classpath = configurations.cucumberRuntime
// args = [
// '--plugin',
// 'pretty',
// '--glue',
// 'src/test/groovy/bdd/cucumber/steps',
//// '--tags',
//// '@beingdeveloped',
// 'src/test/resources/executable-specifications/'
// ]
// }
// }
//}
//test.dependsOn acceptanceTests
dependencies {
testCompile 'org.codehaus.groovy:groovy-all:2.4.3'
testCompile "info.cukes:cucumber-junit:$cucumberVersion"
testCompile "info.cukes:cucumber-groovy:$cucumberVersion"
testCompile 'org.codehaus.groovy.modules.http-builder:http-builder:0.7'
// ++ Serenity BDD
testCompile 'net.serenity-bdd:serenity-core:1.4.0'
// testCompile 'net.serenity-bdd:serenity-junit:1.4.0'
testCompile 'net.serenity-bdd:serenity-cucumber:1.1.35'
testCompile('junit:junit:4.12')
testCompile('org.assertj:assertj-core:1.7.0')
testCompile('org.slf4j:slf4j-simple:1.7.7')
// -- Serenity BDD
}
gradle.startParameter.continueOnFailure = true