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
Javier
06/14/2023, 9:53 PM
It is a property of the test task, you can enable it easily
I want the output in IDEA, I don't care about the CLI
v
Vampire
06/14/2023, 10:11 PM
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
CLOVIS
06/15/2023, 7:30 AM
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.