-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (34 loc) · 953 Bytes
/
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
plugins {
id 'java'
}
group 'com.coveros'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'com.coveros', name: 'selenified', version: '3.1.0'
}
task selenified(type: Test) {
def threads = System.getProperty("threads") ? System.getProperty("threads") : 5
systemProperties System.getProperties()
useTestNG() {
useDefaultListeners = true
if (System.getProperty("groups.include") != null) {
includeGroups System.getProperty("groups.include")
}
if (System.hasProperty("groups.exclude") != null) {
excludeGroups System.getProperty("groups.exclude")
}
}
testLogging {
showStandardStreams = true
exceptionFormat = 'full'
}
options {
listeners.add("com.coveros.selenified.utilities.Transformer")
parallel = 'methods'
threadCount = threads
}
}