Issue
I am using JUnit 3 with Eclipse 3.4. When I run a JUnit test case everything works fine and the test completes perfectly. Only thing is I want to see the output of the classes that I am running. All the classes have basic System.out.print() to some output values. So when I run the tests I don't see any console messages at all. How do I get Eclipse to show System.out.print() output in Console window when a test is successful?
Solution
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.
Answered By - 卢声远 Shengyuan Lu