CocoaPods / CocoaPods/Xcodeproj

Adding XCTestPlans using XCScheme

Open
#842 0 comments 9 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
2.4k
Forks
488
PR merge metrics
No merged PRs in 30d

Description

Hi! great project super helpful!

I'm working on some DX tooling and was wondering whether it is possible to add test plans to a scheme using the [Xcodeproj::XCScheme](https://www.rubydoc.info/gems/xcodeproj/Xcodeproj/XCScheme) class.

At a glance such class exposes a `doc` readonly attribute but that would be to get the final XML, there doesn't seem to be an object based API to add the testplan, thinking of something like `add_test_plan(test_plan) => Object`, is this the case? is this a planned feature?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Xcodeproj::XCScheme class and its readonly doc attribute to understand the existing scheme representation. Investigate how Xcode test plans are represented in the scheme XML and whether an object-based API is feasible. Done means the project has a decided approach for adding test plans through XCScheme.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.