diff --git a/README.md b/README.md index d229a42..4135b0d 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Alternatively, you can use a prebuilt binary release of the tool distributed und ### Using Swift Package Manager -Add `.package(url: "git@github.com:mikeger/XcodeSelectiveTesting", .upToNextMajor(from: "0.14.6"))` to your `Package.swift`'s `dependencies` section. +Add `.package(url: "git@github.com:mikeger/XcodeSelectiveTesting", .upToNextMajor(from: "1.15.1"))` to your `Package.swift`'s `dependencies` section. Use SPM to run the command: `swift run xcode-selective-test`. @@ -56,7 +56,7 @@ Alternatively, you can use a prebuilt binary release of the tool distributed und ### Using [Mint](https://github.com/yonaskolb/Mint) -`mint install mikeger/XcodeSelectiveTesting@0.14.6` +`mint install mikeger/XcodeSelectiveTesting@1.15.1` ### Manually @@ -83,12 +83,12 @@ 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.14.6 YourWorkspace.xcworkspace --test-plan YourTestPlan.xctestplan` +1. Run `mint run mikeger/XcodeSelectiveTesting@1.15.1 YourWorkspace.xcworkspace --test-plan YourTestPlan.xctestplan` 2. Run tests normally, XcodeSelectiveTesting would modify your test plan according to the local changes To process multiple test plans, specify the `--test-plan` option multiple times: ```bash -mint run mikeger/XcodeSelectiveTesting@0.14.6 YourWorkspace.xcworkspace \ +mint run mikeger/XcodeSelectiveTesting@1.15.1 YourWorkspace.xcworkspace \ --test-plan TestPlan1.xctestplan \ --test-plan TestPlan2.xctestplan ``` @@ -103,12 +103,12 @@ mint run mikeger/XcodeSelectiveTesting@0.14.6 YourWorkspace.xcworkspace \ ### 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.14.6 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@1.15.1 YourWorkspace.xcworkspace --test-plan YourTestPlan.xctestplan --base-branch $PR_BASE_BRANCH` 3. Execute your tests To process multiple test plans on CI: ```bash -mint run mikeger/XcodeSelectiveTesting@0.14.6 YourWorkspace.xcworkspace \ +mint run mikeger/XcodeSelectiveTesting@1.15.1 YourWorkspace.xcworkspace \ --test-plan TestPlan1.xctestplan \ --test-plan TestPlan2.xctestplan \ --base-branch $PR_BASE_BRANCH