-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (33 loc) · 1019 Bytes
/
build.gradle
File metadata and controls
43 lines (33 loc) · 1019 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
39
40
41
42
43
group 'com.perfecto'
version '1.0-SNAPSHOT'
apply plugin: 'java'
sourceCompatibility = 1.8
def reportiumVersion = '1.1.15'
def seleniumVersion = '3.0.1'
repositories {
mavenCentral()
maven {
url 'http://repository-perfectomobile.forge.cloudbees.com/public/'
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
// https://mvnrepository.com/artifact/org.testng/testng
compile group: 'org.testng', name: 'testng', version: '6.11'
// https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: seleniumVersion
// Reportium SDK
compile "com.perfecto.reporting-sdk:reportium-java:$reportiumVersion"
}
tasks.withType(Test) {
//forwarding system variables
systemProperties = System.getProperties()
useTestNG {
testLogging.showStandardStreams = true
}
}
task WebSample(type:Test){
useTestNG {
suites 'testng.xml'
}
}