I use junit test methods alot for experimentation and test-driven development.
- 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:
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
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.