Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20686

Outputting logging to INFO from a successful Test

$
0
0

I have some Spock tests running on JUnit 4.12.

Right before the forked test JVM runs, DefaultExecHandle logs to INFO:

Starting process…

Where ``…` is some more text.

If a test fails, that logging statement is saved in the test report. If a test succeeds, however, that logging statement is not saved in the report.

How can I get that logging statement saved / output somewhere when the test succeeds?


Viewing all articles
Browse latest Browse all 20686

Trending Articles