Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeger authored Oct 2, 2024
1 parent aa3410f commit edd6e7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ Alternatively, you can use a prebuilt binary release of the tool distributed und

### Using Swift Package Manager

Add `.package(url: "[email protected]:mikeger/XcodeSelectiveTesting", .upToNextMajor(from: "0.10.2"))` to your `Package.swift`'s `dependencies` section.
Add `.package(url: "[email protected]:mikeger/XcodeSelectiveTesting", .upToNextMajor(from: "0.10.4"))` to your `Package.swift`'s `dependencies` section.

Use SPM to run the command: `swift run xcode-selective-test`.

Alternatively, you can use a prebuilt binary release of the tool distributed under [releases](https://github.com/mikeger/XcodeSelectiveTesting/releases) section.

### Using [Mint](https://github.com/yonaskolb/Mint)

`mint install mikeger/[email protected].2`
`mint install mikeger/[email protected].4`

### Manually

Expand All @@ -83,7 +83,7 @@ NB: This command assumes you have [jq](https://jqlang.github.io/jq/) tool instal

Alternatively, you can use CLI to achieve the same result:

1. Run `mint run mikeger/[email protected].2 YourWorkspace.xcworkspace --test-plan YourTestPlan.xctestplan`
1. Run `mint run mikeger/[email protected].4 YourWorkspace.xcworkspace --test-plan YourTestPlan.xctestplan`
2. Run tests normally, XcodeSelectiveTesting would modify your test plan according to the local changes

### Use case: Xcode-based project, execute tests on the CI, no test plan
Expand All @@ -96,7 +96,7 @@ Alternatively, you can use CLI to achieve the same result:
### Use case: Xcode-based project, execute tests on the CI, with test plan

1. Add code to install the tool
2. Add a CI step before you execute your tests: `mint run mikeger/[email protected].2 YourWorkspace.xcworkspace --test-plan YourTestPlan.xctestplan --base-branch $PR_BASE_BRANCH`
2. Add a CI step before you execute your tests: `mint run mikeger/[email protected].4 YourWorkspace.xcworkspace --test-plan YourTestPlan.xctestplan --base-branch $PR_BASE_BRANCH`
3. Execute your tests

## How does this work?
Expand Down

0 comments on commit edd6e7f

Please sign in to comment.