Created
December 16, 2015 10:30
-
-
Save eleventigers/c6056a2677650884f432 to your computer and use it in GitHub Desktop.
Configures all JUnit (or TestNG) test tasks to write message to console whenever "test failed" / "test passed" / "test skipped" events occur.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks.matching {it instanceof Test}.all { | |
testLogging.events = ["failed", "passed", "skipped"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment