It seems that `commonTest`s are reported (at least in IDEA's UI) differently whether they are ran from
jsTest
or
linuxX64Test
compared to
jvmTest
. When they are ran in
jvmTest
, they are reported with their fully-qualified names (e.g.
org.zeromq.sockets.PushPullTests
), whereas, when ran from
jsTest
or
linuxX64Test
, they are reported with their simple class names (e.g.
PushPullTests
). Is there a way to fix the names on the JS and native targets to use the fully-qualified names?
e
Emil Kantis
08/16/2022, 10:34 PM
I guess for JVM your tests are running with the Junit5 runner which might be reporting differently than however native/JS tests are done? Perhaps you could create an issue and include how your setup looks? š
Probably not. Could be worth a shot to check if Jetbrains kotlin.test package has any good solution for this, but if they don't either I guess it won't be possible to do anything about it.
d
Didier Villevalois
08/17/2022, 8:23 AM
@Emil Kantis, indeed they do have a solution for this. When I add a
kotlin.test
test is it reported with its qualified name, even on JS target. I am not sure where to look for how they do that though!
e
Emil Kantis
08/17/2022, 8:29 AM
Cool, thanks for checking. Then I think it's worth creating the ticket š Whoever picks it up can investigate how they solved it