Hi, all. I"m looking for any information on using ...
# testing
d
Hi, all. I"m looking for any information on using mock objects when writing tests for Kotlin multiplatform apps. Any recommendations would be appreciated.
x
You're trying to go against the grain of the KMP approach for testing. Check out this thread https://kotlinlang.slack.com/archives/C3PQML5NU/p1616764097189700?thread_ts=1616764097.189700&cid=C3PQML5NU
👍 1
d
Thanks for the response. I guess I'm still very in my Java-mindset and see testing through those eyes with Mockito and JUnit.
x
It's difficult to change the mindset, but I think that the fake approach is the easiest to extend haha
🙌 1