I have a `kotlin("jvm")` project as part of a larg...
# gradle
c
I have a
kotlin("jvm")
project as part of a larger build that is mostly composed of
kotlin("multiplatform")
projects. For some reason that I don't understand, the
kotlin("jvm")
project does not have any standard output when executing tests, only the stacktrace even in IDEA. The other modules, even when executing on the JVM, do have standard output in tests. For obvious reasons, this is very inconvenient to debug things. Has anyone seen this before?
j
It is a property of the test task, you can enable it easily
c
Which command specifically?
j
testLogging
c
And what? If you're thinking of
testLogging { showStandardStreams = true }
,that's not what I'm asking for
I want the output in IDEA, I don't care about the CLI
v
If you delegate the task execution to Gradle, which is the default, then there is not much difference between "in IDEA" and "in CLI"
c
Except that
testLogging
is specifically about the CLI, not the reported tests. Anyway, the standard output doesn't even appear in the XML report so it's not a printing issue, it's a collecting issue.