yonaskolb / yonaskolb/XcodeGen

Scheme-Parameter parallelizable does not disable parallel testing

Open
#1,551 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
8.8k
Forks
908
Avg merge
17d 14h
Merged PRs (30d)
2

Description

The parameter parallelizable is now threefold, the default evaluating to "Swift Testing Only". (See Screenshot)

Image

When using the following example, setting parallelizable to false leads to the default, i.e. currently it is not possbile to generate projects with completely serial tests.

TestScheme:
    test:
      targets:
        - name: testTargetName
          parallelizable: false

Expected: Parallelization Disabled

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 how the parallelizable test-target parameter is parsed and translated into the generated Xcode test scheme. Reproduce the provided YAML example, inspect the generated scheme's parallelization setting, and compare it with the expected Parallelization Disabled result. Done means parallelizable: false generates completely serial tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift, yaml
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.