-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
92 lines (80 loc) · 3.3 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
84
85
86
87
88
89
90
91
92
plugins {
id 'java'
id 'scala'
id 'idea'
id "com.github.ben-manes.versions" version "0.27.0"
id 'com.adarshr.test-logger' version '2.0.0'
id 'io.qameta.allure' version '2.8.1'
id "com.github.lkishalmi.gatling" version "3.2.9"
}
ext {
allureVersion = '2.13.0'
selenideVersion = '5.5.0'
junitJupiterVersion = '5.5.2'
log4jVersion = '1.2.17'
slf4jVersion = '1.7.25'
restAssuredVersion = '4.1.2'
wiremockVersion = '2.25.1'
}
defaultTasks 'clean', 'test'
compileTestJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
options.encoding = 'UTF-8'
options.compilerArgs += "-parameters"
}
repositories {
jcenter()
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
testCompile group: 'org.junit.platform', name: 'junit-platform-launcher', version: '1.5.2'
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitJupiterVersion
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: junitJupiterVersion
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: junitJupiterVersion
testCompile group: 'com.codeborne', name: 'selenide', version: selenideVersion
testCompile group: 'io.rest-assured', name: 'rest-assured', version: restAssuredVersion
testCompile group: 'io.qameta.allure', name: 'allure-java-commons', version: allureVersion
testCompile group: 'io.qameta.allure', name: 'allure-junit5', version: allureVersion
testCompile group: 'io.qameta.allure', name: 'allure-selenide', version: allureVersion
testCompile group: 'io.qameta.allure', name: 'allure-rest-assured', version: allureVersion
testCompile group: 'io.qameta.allure', name: 'allure-junit-platform', version: allureVersion
testCompile group: 'io.qameta.allure', name: 'allure-attachments', version: allureVersion
testCompile group: 'io.qameta.allure', name: 'allure-jira-commons', version: allureVersion
testCompile group: 'io.qameta.allure.plugins', name: 'jira-plugin', version: allureVersion
testCompile group: 'ru.yandex.qatools.ashot', name: 'ashot', version: '1.5.4'
testCompile group: 'org.slf4j', name: 'slf4j-jdk14', version: slf4jVersion
testCompile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.64'
compile group: 'io.rest-assured', name: 'rest-assured', version: restAssuredVersion
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
compile group: 'com.github.tomakehurst', name: 'wiremock', version: wiremockVersion
compile group: 'org.scala-lang', name: 'scala-library', version: '2.13.1'
//compile group: 'org.aspectj', name: 'aspectjweaver', version: '1.9.4'
}
allure {
aspectjweaver = true
version = allureVersion
useJUnit5 {}
}
testlogger {
theme 'mocha-parallel'
slowThreshold 1 // ms for test running. set to 1ms for all tests time count in console.
showSummary true
showPassed true
showSkipped true
showFailed true
showStandardStreams false
showPassedStandardStreams true
showSkippedStandardStreams true
showFailedStandardStreams true
}
gatling {
simulations = {'Probe'}
}
tasks.withType(Test) {
reports.html.enabled = false
systemProperties = System.properties
finalizedBy("allureReport")
useJUnitPlatform {}
}