Skip to content

Let a driver own app state, debug logging and activation on xctest runs - #17

Merged
rubu merged 1 commit into
sync/02-eject-buttonfrom
sync/03-xctest-options
Sep 28, 2026
Merged

rubu merged 1 commit into
sync/02-eject-buttonfrom
sync/03-xctest-options

Conversation

@rubu

@rubu rubu commented Sep 28, 2026

Copy link
Copy Markdown

Three options on XctestRunRequest, for a caller that manages the device itself rather than letting the test run manage it:

  • kill_all_running_applications — keep running apps alive instead of killing them before the test host launches
  • disable_xctest_debug_logging — drop the runner's _XCT_logDebugMessage traffic rather than logging it
  • activate_suspended — passed through to the test host's launch options

All three default to the existing behaviour, so a caller that sets none of them sees no change.

Stacked on #16.

🤖 Generated with Claude Code

@rubu

rubu commented Sep 28, 2026

Copy link
Copy Markdown
Author

Supersedes the original work, reimplemented on current upstream:

Same three options, same defaults; the two follow-up fixups on the original branches are folded in rather than carried as separate commits.

Three options for a caller that manages the device itself: keep running applications alive, drop
the runner's _XCT_logDebugMessage traffic, and pass activate_suspended to the test host. All three
default to the existing behaviour.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@rubu
rubu force-pushed the sync/03-xctest-options branch from 0d8f3d1 to 0a9541b Compare September 28, 2026 15:31
@rubu
rubu force-pushed the sync/02-eject-button branch from 4fd7639 to 5d66beb Compare September 28, 2026 15:31
@rubu

rubu commented Sep 28, 2026

Copy link
Copy Markdown
Author

We might be able to drop this as well, but i'm not sure if we will need the xctest mode until we fully transition to Xcode 27 and after that we can revert this.

@rubu
rubu marked this pull request as ready for review September 28, 2026 15:48
@rubu
rubu deleted the branch sync/02-eject-button September 28, 2026 18:30
@rubu rubu closed this Sep 28, 2026
@rubu
rubu deleted the sync/03-xctest-options branch September 28, 2026 18:30
@rubu
rubu restored the sync/03-xctest-options branch September 28, 2026 18:31
@rubu rubu reopened this Sep 28, 2026
@rubu
rubu merged commit 13c6514 into sync/02-eject-button Sep 28, 2026
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.

2 participants