JUnit Eclipse show System.out.print()'s

Maybe other program was running on the console of Eclipse too. Please ensure Eclipse displays the active view of your JUnit code.

From Eclipse Help:

Select the “Display Selected Console” command to bring the console selected from the resulting list into focus. Note: this command is only enabled if you have more than one console open.


jUnit does not suppress System.out statements. If the statement is hit during the test run, then it is executed and writes to System.out which is, when executed within eclipse (Run Configuration), the console window.

But maybe you've redirected System.out to write to a file or a log.