https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

Riccardo Montagnin

02/28/2019, 12:09 PM
How do I run tests that are present inside
commonTest
?
s

spand

02/28/2019, 12:15 PM
Heard they should run automatically when you run tests for any platform
👌 1
g

gildor

02/28/2019, 12:17 PM
To run common tests you have to build and run them for particular platform
r

Riccardo Montagnin

02/28/2019, 1:22 PM
Oh ok, I thought I could start them and they will automatically start on each platform
r

russhwolf

02/28/2019, 2:43 PM
Some platforms (JVM, Android, Native that isn't cross-compiled) will generally be set up automatically, but others require manual configuration
d

drofwarcs

02/28/2019, 6:31 PM
I usually run them with the gradle
check
task. I'm only targeting iOS and Android and usually get a result that is twice the number of test I write in commontest
2 Views