junitintellij-ideaconsoletestng

IntelliJ not showing test results in console


How to see the output in the test console? When I run tests, by default the output is replaced by the summary of the test, and System.outs from individual tests are lost.


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.