Skip to content

consolidate test runner rules to a shared rule, deprecate ios_test_runner - #3008

Open
aaronsky wants to merge 1 commit into
bazelbuild:mainfrom
aaronsky:aaronsky/consolidate-xctestrun-runner-rules
Open

consolidate test runner rules to a shared rule, deprecate ios_test_runner#3008
aaronsky wants to merge 1 commit into
bazelbuild:mainfrom
aaronsky:aaronsky/consolidate-xctestrun-runner-rules

Conversation

@aaronsky

@aaronsky aaronsky commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Still need to verify this thoroughly. Lots of things changed and I'm sure I missed a spot.

Does not remove ios_test_runner yet, so as to minimize the already myriad breaking changes inherent in this changeset.

Summary

  • Adds a unified apple_xctestrun_runner for all Apple platform test targets.
    • Consolidates platform-specific runner scripts and xctestrun templates into shared implementations.
    • Derives the runner platform from the consuming test rule through an Apple configuration transition.
  • Adds platform-aware simulator runtime and default-device selection.
  • Preserves existing platform-specific runner APIs as compatibility macros.
  • Deprecates ios_test_runner and the platform-specific runner APIs while retaining compatibility.

Breaking Changes

  • Custom runner targets are now configured using the consuming test rule’s Apple transition.
  • Direct references to removed platform-specific runner template files must migrate to the shared apple_xctestrun_runner templates.
  • Tooling that inspects platform-specific runner rule kinds will now observe compatibility macros producing apple_xctestrun_runner targets.

@aaronsky aaronsky changed the title wip: consolidate test runner rules to a shared rule, deprecate ios_test_runner wip: consolidate test runner rules to a shared rule, deprecate ios_test_runner Jun 17, 2026
@keith keith added this to the 5.0.0 milestone Jun 23, 2026
@aaronsky
aaronsky force-pushed the aaronsky/consolidate-xctestrun-runner-rules branch from d2dce39 to f7c12b5 Compare August 22, 2026 11:49
@aaronsky
aaronsky force-pushed the aaronsky/consolidate-xctestrun-runner-rules branch from f7c12b5 to f6743d6 Compare August 22, 2026 13:00
@aaronsky aaronsky changed the title wip: consolidate test runner rules to a shared rule, deprecate ios_test_runner consolidate test runner rules to a shared rule, deprecate ios_test_runner Aug 22, 2026
@aaronsky
aaronsky marked this pull request as ready for review August 22, 2026 13:20
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