-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (61 loc) · 1.91 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
67
68
69
plugins {
id "java"
id "io.qameta.allure" version "2.8.1"
id "io.freefair.lombok" version "6.0.0-m2"
}
repositories {
mavenCentral()
}
def junitVersion = "5.8.1",
allureVersion = "2.16.1",
selenideVersion = "5.24.4",
restAssuredVersion = "4.4.0",
ownerVersion = "1.0.12",
slf4jVersion = "1.7.32",
fakerVersion = "1.0.2",
jacksonVersion = "2.13.0",
hamcrestVersion = "2.2",
xlsTestVersion = "1.4.3"
allure {
version = allureVersion
autoconfigure = true
aspectjweaver = true
configuration = "testImplementation"
useJUnit5 {
version = allureVersion
}
}
dependencies {
testImplementation(
"io.rest-assured:rest-assured:$restAssuredVersion",
"com.codeborne:selenide:$selenideVersion",
"org.aeonbits.owner:owner:$ownerVersion",
"com.github.javafaker:javafaker:$fakerVersion",
"io.rest-assured:json-schema-validator:$restAssuredVersion",
"io.qameta.allure:allure-rest-assured:$allureVersion",
"com.fasterxml.jackson.core:jackson-databind:$jacksonVersion",
"org.junit.jupiter:junit-jupiter-api:$junitVersion",
"org.junit.jupiter:junit-jupiter-params:$junitVersion",
"org.hamcrest:hamcrest:$hamcrestVersion",
"com.codeborne:xls-test:$xlsTestVersion"
)
testRuntimeOnly(
"org.slf4j:slf4j-simple:$slf4jVersion",
"org.junit.jupiter:junit-jupiter-engine:$junitVersion"
)
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType(Test) {
systemProperties(System.getProperties())
useJUnitPlatform()
testLogging {
lifecycle {
events "started", "skipped", "failed", "standard_error", "standard_out"
exceptionFormat "short"
}
}
}