Where does the output of System.out.println go in gradle test?
I have a sample test defined as follows:
import org.junit.Test;
import static org.junit.Assert.*;
public class LibraryTest {
@Test public void NaiveScenarioTest() {
System.out.println("java sample scenario started");
SampleScenario s = new SampleScenario("sample");
}
}
Running gradle test
, I get all the success indicators, but the stdout output of the println doesn't show in the terminal nor in gradle's html report. Whereas this is desired only for a quick debug scenario, I still would be happier to have stdout redirected somewhere visible, preferably showing in the terminal as I gradle test
.
What is the simplest or best advice?