rsetkus
10/15/2020, 4:15 PMstreetsofboston
10/15/2020, 4:22 PMrsetkus
10/15/2020, 4:27 PMGiorgos Neokleous
10/15/2020, 4:40 PMrsetkus
10/15/2020, 5:04 PMstreetsofboston
10/15/2020, 5:06 PMcommonMain
can never run as-is, because there is no context in which to run them. They must always be run in a target’s context, like androidMain (on a jvm) or iosMain (native), etc.
When running your androidMain unit-tests, for example, will run those and the ones in commonMain as well. Same thing holds for the other targets, like iosMain, etc.mike.holler
10/15/2020, 5:39 PMbuild.gradle[.kts]
. You have to have at least one runtime configured to run tests../gradlew check
will run on all configured runtimes.rsetkus
10/15/2020, 7:32 PMmike.holler
10/15/2020, 7:33 PMrsetkus
10/15/2020, 7:35 PM