commit | 3ddd1d525f840db93cbb54470e1332925cb51d50 | [log] [tgz] |
---|---|---|
author | Kun Zhang <zhangkun@google.com> | Wed Apr 22 10:02:19 2015 -0700 |
committer | Kun Zhang <zhangkun@google.com> | Wed Apr 22 14:49:43 2015 -0700 |
tree | dac47e464d6d1ac401e155f91a34d41513aa7faa | |
parent | 3ecbd0456a655d8dc7e210524cfbc2a73fab2932 [diff] [blame] |
Log stack traces of test failures to the console. By default we have to open a HTML page in a browser to see the details, which is not possible if the test was run in Travis.
diff --git a/build.gradle b/build.gradle index f587f5a..c380979 100644 --- a/build.gradle +++ b/build.gradle
@@ -189,4 +189,11 @@ } } } + // At a test failure, log the stack trace to the console so that we don't + // have to open the HTML in a browser. + test { + testLogging { + exceptionFormat = 'full' + } + } }