-
Notifications
You must be signed in to change notification settings - Fork 89
/
build.gradle
52 lines (42 loc) · 1.43 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
plugins {
id "net.serenity-bdd.serenity-gradle-plugin" version "4.2.7"
id 'java'
}
defaultTasks 'clean', 'test', 'aggregate'
repositories {
mavenCentral()
}
sourceCompatibility = 17
targetCompatibility = 17
ext {
slf4jVersion = '1.7.7'
serenityCoreVersion = '4.2.8'
junitVersion = '5.11.3'
assertJVersion = '3.23.1'
lombokVersion = '1.18.24'
logbackVersion = '1.2.11'
}
dependencies {
testImplementation "net.serenity-bdd:serenity-core:${serenityCoreVersion}",
"net.serenity-bdd:serenity-junit5:${serenityCoreVersion}",
"net.serenity-bdd:serenity-screenplay:${serenityCoreVersion}",
"net.serenity-bdd:serenity-screenplay-webdriver:${serenityCoreVersion}",
"net.serenity-bdd:serenity-ensure:${serenityCoreVersion}",
"org.junit.jupiter:junit-jupiter-api:${junitVersion}",
"org.junit.jupiter:junit-jupiter-engine:${junitVersion}",
"org.assertj:assertj-core:${assertJVersion}",
"org.projectlombok:lombok:${lombokVersion}",
"ch.qos.logback:logback-classic:${logbackVersion}"
}
test {
useJUnitPlatform()
testLogging.showStandardStreams = true
systemProperties System.getProperties()
}
gradle.startParameter.continueOnFailure = true
serenity {
reports = ["single-page-html"]
// // Specify the root package of any JUnit acceptance tests
testRoot="starter"
}
test.finalizedBy(aggregate)