Skip to content

Add iOS instrumented tests run configuration script#3173

Merged
Vendula Švastalová (svastven) merged 7 commits into
jb-mainfrom
svastven/instrumented-tests-config
Jul 3, 2026
Merged

Add iOS instrumented tests run configuration script#3173
Vendula Švastalová (svastven) merged 7 commits into
jb-mainfrom
svastven/instrumented-tests-config

Conversation

@svastven

@svastven Vendula Švastalová (svastven) commented Jul 1, 2026

Copy link
Copy Markdown

Adds iOS instrumented tests run configuration script.

We can

  • run iOS instrumented tests from IDE
  • conveniently configure test parameters such as the number of iterations, OS version, device name

Release Notes

N/A

Comment thread MULTIPLATFORM.md

cd compose/ui/ui/src/uikitInstrumentedTest/launcher

xcodebuild test -scheme Launcher -project Launcher.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 16'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep the original instructions because for now it's still the direct way of running tests in CLI.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I mean keep both comments - original one and the new instrucitons.

@svastven Vendula Švastalová (svastven) force-pushed the svastven/instrumented-tests-config branch from d67b5dc to cc106cf Compare July 2, 2026 09:50
@svastven Vendula Švastalová (svastven) marked this pull request as ready for review July 2, 2026 09:50
Comment thread MULTIPLATFORM.md Outdated
```

Run iOS instrumented tests.
Run iOS instrumented tests on CI:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Run iOS instrumented tests on CI:
Run iOS instrumented tests using CLI:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Comment thread MULTIPLATFORM.md Outdated
xcodebuild test -scheme Launcher -project Launcher.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 16'
```

Run iOS instrumented tests:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Run iOS instrumented tests:
Run iOS instrumented tests from IDE:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The script can also be run from CLI, so updated with both

Comment thread MULTIPLATFORM.md Outdated
@svastven Vendula Švastalová (svastven) merged commit 33e9166 into jb-main Jul 3, 2026
25 checks passed
@svastven Vendula Švastalová (svastven) deleted the svastven/instrumented-tests-config branch July 3, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants