Quiet mode: Only show build result and system.out of tests?

Hi,
I use junit test methods alot for experimentation and test-driven development.
I know from other framworks/tools in the Javascript world it is quiet nice to run a test in a contnious mode (like Gradle’s continous mode) and get a very distraction-free experience:

  • the console is cleared before each new run
  • i only see the System.outs printed in the tests/application
  • and a final Build failed/succeeded in red/green

I would like to get to a similar setup in Gradle if possible.

  • Some time ago I already wrote a small gradle plugin that clears the screen before each build run; https://plugins.gradle.org/plugin/de.dplatz.clear

  • but the output is full of distractions:

    Task :test

    jz.generics.TestIt > testit STANDARD_OUT
    MY SYS OUTS FROM TEST

    BUILD SUCCESSFUL in 1s
    4 actionable tasks: 4 executed

    Waiting for changes to input files of tasks… (ctrl-d to exit)
    <-------------> 0% WAITING

    IDLE
    IDLE

I am wondering if there is a way with some flags (or extension of my plugin) to get a more distraction-free output?

Effectively, I would like to get to an ouput like this only:

MY SYS OUTS FROM TEST

BUILD SUCCESSFUL in 1s

Thanks in advance for any tips.

Cheers,
Daniel