-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
83 lines (72 loc) · 1.75 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
plugins {
id 'java-library'
id 'io.qameta.allure' version '2.10.0'
id "io.freefair.lombok" version "6.0.0-m2"
}
repositories {
mavenCentral()
}
compileTestJava {
options.encoding = 'UTF-8'
}
def allureVersion = "2.19.0",
slf4jVersion = "2.0.6"
allure {
report {
version.set(allureVersion)
}
adapter {
aspectjWeaver.set(true)
frameworks {
junit5 {
adapterVersion.set(allureVersion)
}
}
}
}
dependencies {
testImplementation(
"com.codeborne:selenide:6.12.2",
"io.qameta.allure:allure-selenide:$allureVersion",
"io.rest-assured:rest-assured:5.3.0",
"io.qameta.allure:allure-rest-assured:$allureVersion",
"com.github.javafaker:javafaker:1.0.2",
// "io.appium:java-client:7.0.0",
"io.appium:java-client:8.3.0",
"commons-io:commons-io:2.11.0",
"org.junit.jupiter:junit-jupiter:5.9.2",
'org.aeonbits.owner:owner:1.0.4',
"org.slf4j:slf4j-simple:$slf4jVersion"
)
testImplementation 'org.projectlombok:lombok:1.18.22'
}
tasks.withType(Test) {
systemProperties(System.getProperties())
useJUnitPlatform()
testLogging {
lifecycle {
events "started", "skipped", "failed", "standard_error", "standard_out"
exceptionFormat "short"
}
}
}
task android(type: Test) {
useJUnitPlatform {
includeTags("android")
}
}
task ios(type: Test) {
useJUnitPlatform {
includeTags("ios")
}
}
task emulator(type: Test) {
useJUnitPlatform {
includeTags("emulator")
}
}
task device(type: Test) {
useJUnitPlatform {
includeTags("device")
}
}