# HG changeset patch # User Oleksandr Gavenko # Date 1490476446 -10800 # Node ID 5f5defb2793f428c3da15d819068337fa2c61663 # Parent 3fd683bb6af2fe36f4bf4ced81264066c462be5c testLogging. diff -r 3fd683bb6af2 -r 5f5defb2793f gradle.rst --- a/gradle.rst Mon Mar 20 16:09:01 2017 +0200 +++ b/gradle.rst Sun Mar 26 00:14:06 2017 +0300 @@ -132,6 +132,28 @@ $ gradle test --rerun-tasks +By default ``System.out`` and ``Sysyem.err`` redirected so you wouldn't see +anything about test on console. + +Quick way to see test output is:: + + $ gradle test -i + +Alternatively configure ``test`` task:: + + test { + testLogging { + events "passed", "skipped", "failed" //, "standardOut", "standardError" + + showExceptions true + exceptionFormat "full" + showCauses true + showStackTraces true + + showStandardStreams = false + } + } + Stopping server =============== :: @@ -189,7 +211,8 @@ Work in offline mode with ``--offline`` option. -Force to re-download dependencies with ``--refresh-dependencies`` option. +Invalidate cache (force re-downloading dependencies) with +``--refresh-dependencies`` option. Alternatively remove ``~/.m2/repository/`` and ``~/.gradle/caches`` directories.