Hi, everyone! I’m new in KMM development. Could you advice me please which framework for shared code testing is better?
04/28/2021, 8:43 AM
There are only two choices, really. #kotest or #spek, both support mpp
I personally prefer kotest due to style flexibility it provides
However only spek supports kotlin native
04/28/2021, 8:50 AM
I tried to add kotest into project but looks like it doesn’t support mobile targets. It leads that error (but for kotest samplesources) and project simply doesn’t builds. As I understood kotest supports only jvm and js targets, but i want to test shared code (kotlin-native). Or am i wrong?