generated from serenity-bdd/serenity-cucumber-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
66 lines (53 loc) · 1.78 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
66
defaultTasks 'clean', 'test', 'aggregate'
repositories {
mavenCentral()
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.serenity-bdd:serenity-gradle-plugin:3.3.0"
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: "net.serenity-bdd.serenity-gradle-plugin"
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
slf4jVersion = '1.7.7'
serenityCoreVersion = '3.3.4'
serenityCucumberVersion = '3.3.4'
junitVersion = '4.13.1'
assertJVersion = '3.23.1'
logbackVersion = '1.2.10'
}
dependencies {
implementation "ch.qos.logback:logback-classic:${logbackVersion}"
testImplementation "net.serenity-bdd:serenity-core:${serenityCoreVersion}",
"net.serenity-bdd:serenity-cucumber:${serenityCucumberVersion}",
"net.serenity-bdd:serenity-screenplay:${serenityCoreVersion}",
"net.serenity-bdd:serenity-screenplay-webdriver:${serenityCoreVersion}",
"net.serenity-bdd:serenity-ensure:${serenityCoreVersion}",
"junit:junit:${junitVersion}",
"org.junit.platform:junit-platform-launcher:1.8.2",
"org.junit.jupiter:junit-jupiter-engine:5.8.2",
"org.junit.vintage:junit-vintage-engine:5.8.2",
"org.assertj:assertj-core:${assertJVersion}"
}
test {
testLogging.showStandardStreams = true
systemProperties System.getProperties()
}
serenity {
// Specify the root package of any JUnit acceptance tests to appear in the Serenity report
testRoot = "starter"
// Specify the root directory of any Cucumber feature files
requirementsDir = "src/test/resources/features"
}
gradle.startParameter.continueOnFailure = true
test.finalizedBy(aggregate)