Skip to content

ASalavei/HostAppTest

Repository files navigation

This is a Kotlin Multiplatform project targeting Android, iOS.

The empty app contains identical tests.

Kotlin: https://github.com/ASalavei/HostAppTest/blob/main/shared/src/iosTest/kotlin/org/example/project/UIApplicationTest.ios.kt

Swift: https://github.com/ASalavei/HostAppTest/blob/main/iosApp/HostAppTestTests/HostAppTestTests.swift

To run iOS tests with TEST_HOST on iOS simulator:

cd iosApp
xcodebuild test -scheme iosApp -destination "platform=iOS Simulator,name=iPhone 16 Pro"

To run clean and Kotlin iOS tests:

./gradlew :shared:cleanIosSimulatorArm64Test :shared:iosSimulatorArm64Test

Currently, they are failing, but should pass when properly configured. Ideally, Kotlin test should aso be launched from withing UIApplicationMain, the same way xcodebuild does it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published