microsoft / microsoft/HydraLab
[New Feature] Support `.xctestproducts` and Test Plan for XCTest
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1k
- Forks
- 107
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 2
Description
Hello,
I would like to suggest adding support for the .xctestproducts file in XCTest, which includes all the products necessary to execute the test. The .xctestproducts file has been added since Xcode 13.3. The main advantages of using .xctestproducts are:
- It is very suitable for executing XCTest in a pipeline.
- It supports choosing which Test Plan to execute (currently, HydraLab relies on the supplied
.xctestrunfile specific to one test plan).
The suggested changes are:
- Adding support for
.xctestproducts. - Adding a new option in the UI that enables the selection of a Test Plan.
These changes should enhance the usability and flexibility of XCTest.
I would love to contribute by working on the backend implementation ☺️
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing XCTest support and handling of supplied .xctestrun files, then identify the backend and UI entry points involved. Define support for .xctestproducts and Test Plan selection, and verify that a selected plan can be executed in a pipeline.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, java
- Domain
- mobile-dev, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100