Basic question: I am trying to get unit tests for ...
# test
t
Basic question: I am trying to get unit tests for a common shared mpp library: I have a jsTest and iosTest which work fine (I can see println’s). But there is no matching androidTest. I try testDebugUnitTest (using test-junit5) and I get no results and no println ouput. Any clues?
a
did you try
test
directory
confusing enough as it is
m
You can try increasing the test logging. When configuring the
Test
task:
Copy code
testLogging {
   events = setOf(TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED)
   exceptionFormat = TestExceptionFormat.FULL
   showExceptions = true
   showStandardStreams = true
}
s
I think you can't get the test results from junit 5, at least I didn't find how to do it for my CI so I went back to junit4