Hi,

this must be an FAQ but I have to ask it nevertheless because I failed to get it right:

I have JUnit tests that run well inside Eclipse and fail inside gradle. Now, I want to add System.out.println()-statements in the test case code so that I can inspect variables when running under Gradle.

However, Gradle catches standard output and I am not able to see it.

I have tried to use the info at http://www.gradle.org/logging.html but this does not work:
    captureStandardOutput LogLevel.INFO
    gradle -i test
The stdout from the JUnit test case does not appear as an info message.

What is the "standard" way to do it?

Cheers
Matthias

Reply via email to