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
sam
07/08/2020, 12:20 PM
You can only test in jvmTest. That can rely on code in commonMain though
p
peekandpoke
07/08/2020, 12:33 PM
Ok thanks. But there is no gradle task my-module:test in my mpp module. Which task do I have to call?