-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
38 lines (29 loc) · 1.17 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
plugins {
id 'java'
}
group = 'org.example'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
implementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.14.1'
// https://mvnrepository.com/artifact/org.testng/testng
testImplementation group: 'org.testng', name: 'testng', version: '7.8.0'
// https://mvnrepository.com/artifact/com.github.javafaker/javafaker
implementation group: 'com.github.javafaker', name: 'javafaker', version: '1.0.2'
// https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
}
test {
useTestNG(){
if (project.hasProperty("username") && project.hasProperty("password")) {
systemProperties.put("username", project.property("username"))
systemProperties.put("password", project.property("password"))
print(project.property("username"))
print(project.property("password"))
}
suites "./src/test/resources/employeeSuite.xml"
}
}