-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (33 loc) · 1.03 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
39
40
41
42
43
44
plugins {
id 'java'
id 'groovy'
}
group 'testFX-spock'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testRuntimeOnly group: 'org.junit.vintage', name: 'junit-vintage-engine', version: '5.3.2'
testCompile group: 'org.testfx', name: 'testfx-core', version: '4.0.15-alpha'
testCompile group: 'org.testfx', name: 'openjfx-monocle', version: '8u76-b04'
testCompile group: 'org.testfx', name: 'testfx-spock', version: '4.0.15-alpha'
testCompile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.16'
}
test {
dependsOn(clean)
useJUnit{
testLogging {
showStandardStreams = true
}
}
beforeTest { descriptor ->
logger.lifecycle("Running test: " + descriptor)
}
failFast = false
onOutput { descriptor, event ->
logger.lifecycle("Test: " + descriptor + " produced standard out/err: " + event.message )
}
}