-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
38 lines (34 loc) · 999 Bytes
/
build.gradle
File metadata and controls
38 lines (34 loc) · 999 Bytes
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
plugins {
id 'java'
id 'io.freefair.lombok' version '5.3.3.3'
}
group 'sample-tests'
version '1.0-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
dependencies {
implementation(
'org.seleniumhq.selenium:selenium-java:4.1.2',
'io.appium:java-client:7.3.0',
'ru.yandex.qatools.htmlelements:htmlelements-all:1.20.0',
'org.testng:testng:7.5',
'io.github.bonigarcia:webdrivermanager:5.0.3'
)
}
task runTestSuite(type: Test) {
scanForTestClasses = false
useTestNG() {
useDefaultListeners = true
testLogging.showStandardStreams = true
suites 'testngsuites/chromesuite.xml',
'testngsuites/firefoxsuite.xml'
options {
systemProperties(System.getProperties())
systemProperties.remove("java.endorsed.dirs")
useDefaultListeners = true
}
}
}