Intellij not shows test results in console

console, intellij-idea, junit, testng

Solution

It's different for tests that failed and tests that works.

If no test fails you'll have to click the top level of all tests that ran you'll see the output.

If you click on any specific working test they'll be empty, even if they printed something. If you click on any specific failing test they'll show the output from all previous tests, including the one that failed.

Problem

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.

Original source