MobileNativeFoundation / MobileNativeFoundation/rules_xcodeproj

Feature Request: Ability to configure specific test cases to be enabled/disabled in custom schemes

Open
#2,666 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Swift
Stars
626
Forks
124
PR merge metrics
No merged PRs in 30d

Description

It would be interesting to be able to configure at the xcodeproj macro level what test cases are enabled or not in a custom scheme. I can imagine different use cases here but one example is wanting to generate special scheme that test a particular grouping of test cases to troubleshoot issues.

For example, in the screenshot above say I want a custom scheme containing iOSAppMixedUnitTests but with only SwiftUnitTests enabled instead of all test cases in the target.

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the xcodeproj macro's custom scheme generation and how test cases are currently associated with a target. Define the configuration needed to select individual cases, then verify that a generated scheme can include iOSAppMixedUnitTests with only SwiftUnitTests enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.