-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement launcher for Instrumented Test on iOS #5198
base: master
Are you sure you want to change the base?
Conversation
@igordmn , could you please also confirm that the copyright is correct. |
Looks fine
Also looks fine |
...rc/iosMain/kotlin/androidx/compose/test/accessibility/ComponentsAccessibilitySemanticTest.kt
Outdated
Show resolved
Hide resolved
...rc/iosMain/kotlin/androidx/compose/test/accessibility/ComponentsAccessibilitySemanticTest.kt
Outdated
Show resolved
Hide resolved
...ui-instrumented-test/src/iosMain/kotlin/androidx/compose/test/utils/AccessibilityTestNode.kt
Outdated
Show resolved
Hide resolved
...ui-instrumented-test/src/iosMain/kotlin/androidx/compose/test/utils/UIKitInstrumentedTest.kt
Show resolved
Hide resolved
...ui-instrumented-test/src/iosMain/kotlin/androidx/compose/test/utils/UIKitInstrumentedTest.kt
Outdated
Show resolved
Hide resolved
instrumented-test/ui-instrumented-test/src/iosMain/objc/CMPTestUtils/HIDEvent.m
Show resolved
Hide resolved
instrumented-test/ui-xctest/src/iosMain/kotlin/androidx/compose/xctest/NativeTestRunner.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code LGTM. Didn't test locally, please wait for another review
The
instrumented-test
project allows to write instrumented tests for Compose Multiplatform and run corresponding XCTests with a host application on the iOS simulator. It includes the following modules and projects:ui-xctest
module contains code to convert a set ofkotlin.test
to XCTest.ui-instrumented-test
module contains test utilities such as test runner and touch simulation, as well as tests themeselve.launcher
project - wrapper aroundkotlin.test
that runs the tests in the XCode environment.Fixes https://youtrack.jetbrains.com/issue/CMP-5880/Implement-test-UITouch-API-for-internal-touch-testing
Release Notes
Features - iOS