-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,13 +44,13 @@ Add to Xcode as SPM dependency. | |
|
||
### Using Swift Package Manager | ||
|
||
Add `.package(url: "[email protected]:mikeger/XcodeSelectiveTesting", .upToNextMajor(from: "0.8.2"))` to your `Package.swift`'s `dependencies` section. | ||
Add `.package(url: "[email protected]:mikeger/XcodeSelectiveTesting", .upToNextMajor(from: "0.9.0"))` to your `Package.swift`'s `dependencies` section. | ||
|
||
Use SPM to run the command: `swift run xcode-selective-test`. | ||
|
||
### Using [Mint](https://github.com/yonaskolb/Mint) | ||
|
||
`mint install mikeger/XcodeSelectiveTesting@0.8.2` | ||
`mint install mikeger/XcodeSelectiveTesting@0.9.0` | ||
|
||
### Manually | ||
|
||
|
@@ -77,7 +77,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/XcodeSelectiveTesting@0.8.2 YourWorkspace.xcworkspace --test-plan YourTestPlan.xctestplan` | ||
1. Run `mint run mikeger/XcodeSelectiveTesting@0.9.0 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 | ||
|
@@ -90,7 +90,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/XcodeSelectiveTesting@0.8.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/XcodeSelectiveTesting@0.9.0 YourWorkspace.xcworkspace --test-plan YourTestPlan.xctestplan --base-branch $PR_BASE_BRANCH` | ||
3. Execute your tests | ||
|
||
## How does this work? | ||
|