A minimal iOS project demonstrating bazel's ios_xctestrun_runner for running UI tests
Defined in the root BUILD.bazel using ios_xctestrun_runner:
unitTestRunner- Randomized order, reuses simulators, retries on failureuiTestRunner- 600s timeout per test taret, retry on failure, xcresult bundle generationparallelizedRunner- Distributes tests across 3 simulators for parallel execution
The parallelizedRunner passes -parallel-testing-enabled YES and targets 3 named simulators
BAZEL_TEST_iPhone 17_26.1
BAZEL_TEST_iPhone 17_26.1_0
BAZEL_TEST_iPhone 17_26.1_1
Before running parallel tests, create and boot these simulators:
./Scripts/setup_simulators.shTo run the tess using the parallelizedRunner:
bazel test //UITests:AppUITests