Hi! Can I find an example of how to test multi-pla...
# kotest
p
Hi! Can I find an example of how to test multi-platform code? I have a jvm/js library and most of the code is in commonMain. How do I write tests in commonTest or better: which depedencies do I need to pull. And then what is the gradle task to run the tests?
s
You can only test in jvmTest. That can rely on code in commonMain though
p
Ok thanks. But there is no gradle task my-module:test in my mpp module. Which task do I have to call?
s
check
p
Thank you!