So I'm imagining the testing lifecycle of a Kotlin...
# multiplatform
s
So I'm imagining the testing lifecycle of a Kotlin common module, and it dawned on me that I can't use any jvm specific solutions that I've been relying on to make Kotlin JVM testing manageable. Mockito has something that makes all Kotlin classes / methods non-final and allows easy mocking of kotlin classes (through some additional libraries). I'm assuming there is nothing like that with Kotlin common modules? I'd just have to use interfaces and dependency injection to properly test things?
a
Yes, the test for
common
is a little bit tricky. Although it works. This is why I think maybe the old school way is better than MMP because its IoC nature will make the
common
more easily to test 😄