-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (46 loc) · 1.17 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 'java-library'
id 'io.qameta.allure' version '2.11.2'
}
repositories {
mavenCentral()
}
def allureVersion = "2.21.0",
selenideVersion = "6.19.1",
ownerVersion = "1.0.12",
slf4jVersion = "2.0.7",
assertjVersion = "3.23.1",
junitVersion = "5.10.0"
allure {
report {
version.set(allureVersion)
}
adapter {
aspectjWeaver.set(true)
frameworks {
junit5 {
adapterVersion.set(allureVersion)
}
}
}
}
dependencies {
testImplementation(
"com.codeborne:selenide:$selenideVersion",
"io.qameta.allure:allure-selenide:$allureVersion",
"org.junit.jupiter:junit-jupiter:$junitVersion",
"org.aeonbits.owner:owner:$ownerVersion",
"org.assertj:assertj-core:$assertjVersion")
testRuntimeOnly(
"org.slf4j:slf4j-simple:$slf4jVersion")
}
tasks.withType(Test) {
systemProperties(System.getProperties())
useJUnitPlatform()
testLogging {
lifecycle {
events "started", "skipped", "failed", "standard_error", "standard_out"
exceptionFormat "short"
}
}
}