-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
executable file
·68 lines (47 loc) · 1.29 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
defaultTasks 'clean','test','aggregate'
repositories {
mavenLocal()
jcenter()
}
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath("net.serenity-bdd:serenity-gradle-plugin:1.9.12")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'net.serenity-bdd.aggregator'
apply from: "$rootDir/gradle/libraries.gradle"
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile libs.slf4jApi,
libs.logback
testCompile libs.test.serenity.core,
libs.test.serenity.screenplay,
libs.test.serenity.screenplayWebdriver,
libs.test.serenity.cucumber,
libs.test.junit,
libs.test.assertj
}
tasks.withType(Test){
testLogging.showStandardStreams = true
systemProperty 'webdriver.remote.url', 'http://localhost:4444/wd/hub'
systemProperty 'webdriver.remote.driver', 'chrome'
}
test {
//systemProperty 'cucumber.options' , '-t @FTSmokeTest'
}
task smokeTest(type:Test){
systemProperty 'cucumber.options' , '-t @FTSmokeTest'
}
task demoWebsiteTest(type:Test){
systemProperty 'cucumber.options' , '-t @FTDemoWebsite'
}
gradle.startParameter.continueOnFailure = true
test.finalizedBy(aggregate)