microsoft / microsoft/HydraLab

[New Feature] Support `.xctestproducts` and Test Plan for XCTest

Open
#583 1 comment 1 reaction 0 assignees View on GitHub

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 .xctestrun file 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.