-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (46 loc) · 1.49 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
plugins {
id 'java-library'
id 'io.qameta.allure' version '2.11.2'
id 'io.freefair.lombok' version '8.0.1'
}
repositories {
mavenCentral()
}
def allureVersion = "2.21.0",
slf4jVersion = "2.0.7"
allure {
report {
version.set(allureVersion)
}
adapter { // отвечает за появление папочки build/allure-results
aspectjWeaver.set(true) //обработка аннотации @Step
frameworks {
junit5 { //название фреймворка
adapterVersion.set(allureVersion) //версия интеграции фреймворка и Allure
}
}
}
}
dependencies {
implementation 'org.jetbrains:annotations:23.0.0'
testImplementation (
"com.codeborne:selenide:6.13.0",
"org.junit.jupiter:junit-jupiter:5.9.1",
"org.assertj:assertj-core:3.24.2",
"com.github.javafaker:javafaker:1.0.2",
"org.slf4j:slf4j-simple:$slf4jVersion",
"io.qameta.allure:allure-selenide:$allureVersion",
"io.qameta.allure:allure-rest-assured:$allureVersion",
"io.rest-assured:rest-assured:5.3.0",
"io.rest-assured:json-schema-validator:5.3.0"
)
testImplementation 'org.testng:testng:7.1.0'
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
test {
useJUnitPlatform()
systemProperties(System.getProperties())
}