How to run Gradle test when all tests are UP-TO-DATE?
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 18 Jan 2020 21:58:46 +0200
changeset 2404 ba68f3bf0e48
parent 2403 f5347f511cb3
child 2405 b596469f32fc
How to run Gradle test when all tests are UP-TO-DATE?
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.