Intellij not shows test results in console

user1085746 picture user1085746 · Dec 5, 2013 · Viewed 19.3k times · Source

Howto set the output in test console? When i run test by default the output is replaced by the summary of the test, and System.outs are lost.

Answer

mirelon picture mirelon · Mar 12, 2014

In IDEA 12,13 and 14 (also maybe other versions), there is a button "Hide passed tests" and is pressed by default:

enter image description here

The console output is missing some of the printed strings (the last ones). When you uncheck the button and click on the test:

enter image description here

Then the output is shown in the console.