-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
39 lines (32 loc) · 979 Bytes
/
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
plugins {
id 'java'
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'com.codeborne:selenide:7.6.1'
// JUnit 5
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.4'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.4'
// Logging of 3-rd party libraries
testImplementation group: 'org.slf4j', name: 'jul-to-slf4j', version:'2.0.16'
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.15'
}
test {
// JUnit 5
useJUnitPlatform()
}
tasks.withType(Test).configureEach {
// for using properties from gradle.properties
systemProperties = System.properties
// verbose logging in console
testLogging {
lifecycle {
events "started", "skipped", "failed", "standard_error", "standard_out"
exceptionFormat "full"
}
}
// start tests every time, even when code not changed
outputs.upToDateWhen { false }
}