-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (37 loc) · 1.05 KB
/
Copy pathbuild.gradle
File metadata and controls
47 lines (37 loc) · 1.05 KB
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
plugins {
id 'java'
}
group 'selenium-testng-boilerplate'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
ext.libraries = [
junit:"junit:junit:4.12",
testng:"org.testng:testng:6.14.3",
selenium:"org.seleniumhq.selenium:selenium-java:3.141.0",
assertj: 'org.assertj:assertj-core:3.11.1',
apache_commons: 'commons-io:commons-io:2.4'
]
dependencies {
compile libraries.selenium
compile libraries.testng
compile libraries.apache_commons
testCompile libraries.junit
testCompile libraries.testng
testCompile libraries.assertj
}
test {
useTestNG {
useDefaultListeners = true
reports.html.enabled = false
suites 'src/test/resources/testng/testng.xml'
}
testLogging {
events "standard_out"
}
systemProperty "selectedBrowser", System.getProperty("browser","chrome")
systemProperty "headless", System.getProperty("headless","false")
systemProperty "runOnGrid", System.getProperty("runOnGrid","false")
}