more verbose test output
This commit is contained in:
27
build.gradle
27
build.gradle
@ -1,15 +1,8 @@
|
|||||||
/*
|
|
||||||
* This file was generated by the Gradle 'init' task.
|
|
||||||
*
|
|
||||||
* This generated file contains a sample Java project to get you started.
|
|
||||||
* For more details take a look at the Java Quickstart chapter in the Gradle
|
|
||||||
* user guide available at https://docs.gradle.org/4.6/userguide/tutorial_java_projects.html
|
|
||||||
*/
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'application'
|
id 'application'
|
||||||
id "com.github.johnrengelman.shadow" version "2.0.4"
|
id "com.github.johnrengelman.shadow" version "2.0.4"
|
||||||
|
id "com.adarshr.test-logger" version "1.2.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
mainClassName = 'App'
|
mainClassName = 'App'
|
||||||
@ -42,6 +35,24 @@ run {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
testlogger {
|
||||||
|
theme 'standard'
|
||||||
|
showStandardStreams true
|
||||||
|
//showSummary false
|
||||||
|
//showExceptions false
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
test {
|
||||||
|
testLogging.showStandardStreams = true
|
||||||
|
|
||||||
|
testLogging {
|
||||||
|
// events "passed", "skipped", "failed"
|
||||||
|
events "passed", "skipped", "failed", "standardOut", "standardError"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
task javadocs(type: Javadoc) {
|
task javadocs(type: Javadoc) {
|
||||||
source = sourceSets.main.allJava
|
source = sourceSets.main.allJava
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user