Kris Wong
12/30/2019, 3:27 PMbasher
12/30/2019, 4:07 PMKris Wong
12/30/2019, 4:08 PMMikołaj Kąkol
12/30/2019, 4:10 PMbasher
12/30/2019, 4:10 PMKris Wong
12/30/2019, 4:11 PMKris Wong
12/30/2019, 4:12 PMbasher
12/30/2019, 4:12 PMobject : SomeInterface …
to make on-the-fly mock implementationsbasher
12/30/2019, 4:13 PMMikołaj Kąkol
12/30/2019, 4:13 PMKris Wong
12/30/2019, 4:13 PMKris Wong
12/30/2019, 4:14 PMbasher
12/30/2019, 4:15 PMbasher
12/30/2019, 4:17 PMKris Wong
12/30/2019, 4:18 PMKris Wong
12/30/2019, 4:19 PMKris Wong
12/30/2019, 4:59 PMArkadii Ivanov
12/30/2019, 5:22 PMKris Wong
12/30/2019, 5:26 PMArkadii Ivanov
12/30/2019, 5:28 PMMikołaj Kąkol
12/30/2019, 5:28 PMtasks.register("iosTest") {
val device = project.findProperty("iosDevice")?.toString() ?: "iPhone 8"
val testExecutable = kotlin.targets.getByName<KotlinNativeTarget>("iosX64").binaries.getTest("DEBUG")
dependsOn(testExecutable.linkTaskName)
group = JavaBasePlugin.VERIFICATION_GROUP
description = "Runs tests for target 'ios' on an iOS simulator"
doLast {
exec {
commandLine("xcrun", "simctl", "spawn", "--standalone", device, testExecutable.outputFile.absolutePath)
}
}
}
Mikołaj Kąkol
12/30/2019, 5:28 PMMikołaj Kąkol
12/30/2019, 5:29 PMKris Wong
12/30/2019, 5:29 PM