# HG changeset patch # User Oleksandr Gavenko # Date 1579377526 -7200 # Node ID ba68f3bf0e489f6dee28644cd5ae230da56bc142 # Parent f5347f511cb3f9b2310b9d4bf350f543ca4292fa How to run Gradle test when all tests are UP-TO-DATE? diff -r f5347f511cb3 -r ba68f3bf0e48 gradle.rst --- a/gradle.rst Thu Jan 16 13:42:03 2020 +0200 +++ b/gradle.rst Sat Jan 18 21:58:46 2020 +0200 @@ -262,10 +262,12 @@ .. note:: ``--rerun-tasks`` option *specifies that any task optimization is ignored*. - In that way you may rerun tests even if there are no changed files:: + If you are not using build cache it reruns tests and all dependent tasks:: $ gradle test --rerun-tasks + See https://stackoverflow.com/questions/29427020/how-to-run-gradle-test-when-all-tests-are-up-to-date + By default ``System.out`` and ``Sysyem.err`` redirected so you wouldn't see anything about test on console.