bazelbuild / rules_apple

Bazel rules to build apps for Apple platforms.
Apache License 2.0
509 stars 264 forks source link

Add rule for generating xctestrun bundles #2175

Open maxwellE opened 1 year ago

maxwellE commented 1 year ago

I am looking to add support for creating xctestrun bundles from ios_unit_test and ios_ui_test bundles (originally attempted here) . I noticed that recently there were significant changes to how bundling works for tests leading me to make a draft PR of my current attempt here.

  1. Should we make a new rule to make xctestrun bundles or should running bazel build create these bundles when using the new xctestrunner
  2. What is the correct starting point for starting this work given the significant changes?
mattrobmattrob commented 1 year ago

I was working on this earlier this week. I am moving the bundle and XCTestRun creation into separate utility scripts that are used by the xctestrun_runner template.

Hopefully I can get more time to work on it soon.

maxwellE commented 1 year ago

Sounds great, thanks for the update and looking forward to the PRs

romit07 commented 1 year ago

Any progress on this?, we are looking forward to it

louwers commented 4 weeks ago

My workaround seems to have broken down finally.