Test Runner log output strangely formatted under IntelliJ 2018.3

I just upgraded to intelliJ 2018.3 and I have found that one of my Run configurations does not display stdout log data correctly.  Each test shows the log output for the test with extra ##teamcity decorations like this:

What I was expecting to see was just this single line from my test, which is what IntelliJ 2018.2.x used to show:

Now, this particular test only has 1 line of output.  If the test has multiple lines of output, IntelliJ will now squeeze them all into one line.  This makes it very difficult to read.

I have further found that this ##teamcity embelishment only occurs if the test runner is configured with 

test kind: all in package

search for tests: in whole project

If I instead run the test as "search for tests: across module dependencies", then the tests run correctly, without the ##teamcity extra output.

So is "search for tests: in whole project" still supported in 2018.3 ?

0
3 comments

Hello,

Please tell what fork mode do you have in Run configuration? 

Relevant issue is already created in YouTrack, please follow it for more details: https://youtrack.jetbrains.com/issue/IDEA-203036. Thank you

0

I use fork mode: none

I reran the tests using "fork mode: class" and I see the same result with the concatenated log file.  I also now see the issue raised in https://youtrack.jetbrains.com/issue/IDEA-203036  where the test names are now not displayed on the left side.  So it seems to me that these issues are related, but slightly different.

The most annoying part is that if I select the root of the tests, I am expecting to see all of the log output in the window for all tests.  However, the log output appears as one concatenated line, more than 100,000 characters

0

I have created the issue for your report in YouTrack (https://youtrack.jetbrains.com/issue/IDEA-203469), please follow it and attach the code sample to it to reproduce the issue. Thank you

0

Please sign in to leave a comment.