apextestlist 1.15.0 → 1.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@
5
5
 
6
6
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
7
7
 
8
+ ## [1.15.2](https://github.com/wisefoxme/apex-test-list/compare/v1.15.1...v1.15.2) (2026-10-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** bump the dependencies group across 1 directory with 3 updates ([#431](https://github.com/wisefoxme/apex-test-list/issues/431)) ([4c7be64](https://github.com/wisefoxme/apex-test-list/commit/4c7be64a38446d8e8391fcaab1b7b50a184c28d7))
14
+
15
+ ## [1.15.1](https://github.com/wisefoxme/apex-test-list/compare/v1.15.0...v1.15.1) (2026-09-28)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** bump @salesforce/core in the dependencies group ([#426](https://github.com/wisefoxme/apex-test-list/issues/426)) ([f98d484](https://github.com/wisefoxme/apex-test-list/commit/f98d48450fa7d2f54e8b6ec8cb075c5709e39144))
21
+
8
22
  ## [1.15.0](https://github.com/wisefoxme/apex-test-list/compare/v1.14.4...v1.15.0) (2026-09-16)
9
23
 
10
24
 
package/README.md CHANGED
@@ -20,6 +20,7 @@ A plugin that generates a list of tests that your automated process should run,
20
20
  - [3. `@isTest` (Apex Annotation)](#3-istest-apex-annotation)
21
21
  - [4. `.test-dependencies.yml` (Centralized Metadata Filter)](#4-test-dependenciesyml-centralized-metadata-filter)
22
22
  - [Running the Tool](#running-the-tool)
23
+ - [Explicit Test Level for Deploy and Validate](#explicit-test-level-for-deploy-and-validate)
23
24
  - [Handling Missing Tests](#handling-missing-tests)
24
25
  - [Handling Missing Annotations](#handling-missing-annotations)
25
26
  - [Failing When No Tests Are Found](#failing-when-no-tests-are-found)
@@ -124,13 +125,29 @@ Example output:
124
125
  This command is useful in CI/CD pipelines, dynamically generating the test list for deployments:
125
126
 
126
127
  ```sh
127
- sf project deploy start $(sf apextests list)
128
+ sf project deploy start --test-level RunSpecifiedTests $(sf apextests list)
128
129
  ```
129
130
 
130
131
  The final deployment command would look like:
131
132
 
132
133
  ```sh
133
- sf project deploy start --tests SampleTest SuperSampleTest Sample2Test SuperSample2Test SampleTriggerTest
134
+ sf project deploy start --test-level RunSpecifiedTests --tests SampleTest SuperSampleTest Sample2Test SuperSample2Test SampleTriggerTest
135
+ ```
136
+
137
+ ### Explicit Test Level for Deploy and Validate
138
+
139
+ When you append `sf apextests list` output (or the GitHub Action `command` output) to `sf project deploy start` or `sf project deploy validate`, explicitly pass `--test-level RunSpecifiedTests`. Without it, the deploy or validation can fail immediately with:
140
+
141
+ ```text
142
+ Error (1): INVALID_OPERATION: runTests can only be used with a testLevel of RunSpecifiedTests
143
+ ```
144
+
145
+ Salesforce CLI documentation suggests that providing `--tests` should infer `RunSpecifiedTests`, but behavior differs between deploy subcommands. In practice, `sf project deploy validate` does not set the level implicitly (a fix is tracked in [salesforcecli/plugin-deploy-retrieve#1650](https://github.com/salesforcecli/plugin-deploy-retrieve/pull/1650)). Using an explicit test level works for both start and validate.
146
+
147
+ With a manifest:
148
+
149
+ ```sh
150
+ sf project deploy start -x package/package.xml --test-level RunSpecifiedTests $(sf apextests list -x package/package.xml)
134
151
  ```
135
152
 
136
153
  If no test methods are found, the command output will be empty and will present this warning:
@@ -198,7 +215,7 @@ For GitHub Actions, this is also available as a native Action — no `sf` CLI or
198
215
  ignore-missing-tests: 'true'
199
216
 
200
217
  - name: Deploy with the specified tests
201
- run: sf project deploy start -x package.xml ${{ steps.list.outputs.command }}
218
+ run: sf project deploy start -x package.xml --test-level RunSpecifiedTests ${{ steps.list.outputs.command }}
202
219
  ```
203
220
 
204
221
  ### Inputs
@@ -119,5 +119,5 @@
119
119
  ]
120
120
  }
121
121
  },
122
- "version": "1.15.0"
122
+ "version": "1.15.2"
123
123
  }
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
1
  {
2
2
  "name": "apextestlist",
3
3
  "description": "A plugin that generates a list of apex test and test suite names for use in CI/CD pipelines.",
4
- "version": "1.15.0",
4
+ "version": "1.15.2",
5
5
  "dependencies": {
6
- "@oclif/core": "5.0.0",
7
- "@salesforce/core": "9.1.11",
8
- "@salesforce/sf-plugins-core": "13.0.4"
6
+ "@oclif/core": "5.1.2",
7
+ "@salesforce/core": "9.3.2",
8
+ "@salesforce/sf-plugins-core": "13.0.5"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@actions/core": "3.0.1",
12
- "@biomejs/biome": "2.5.12",
13
- "@commitlint/cli": "21.2.2",
14
- "@commitlint/config-conventional": "21.2.2",
15
- "@salesforce/cli-plugins-testkit": "5.3.66",
12
+ "@biomejs/biome": "2.5.15",
13
+ "@commitlint/cli": "21.2.3",
14
+ "@commitlint/config-conventional": "21.2.3",
15
+ "@salesforce/cli-plugins-testkit": "5.3.68",
16
16
  "@salesforce/dev-config": "4.3.3",
17
17
  "@stryker-mutator/core": "10.0.0",
18
18
  "@stryker-mutator/vitest-runner": "10.0.0",
19
- "@types/node": "26.5.1",
20
- "@vitest/coverage-v8": "5.0.0",
19
+ "@types/node": "26.6.4",
20
+ "@vitest/coverage-v8": "5.0.3",
21
21
  "esbuild": "0.28.2",
22
22
  "husky": "9.1.7",
23
- "knip": "6.35.1",
24
- "lint-staged": "17.5.0",
23
+ "knip": "6.40.0",
24
+ "lint-staged": "17.6.0",
25
25
  "ls-engines": "0.10.1",
26
- "oclif": "5.0.1",
26
+ "oclif": "6.0.2",
27
27
  "shx": "0.4.0",
28
28
  "typescript": "7.0.2",
29
- "vitest": "5.0.0",
29
+ "vitest": "5.0.3",
30
30
  "wireit": "0.14.13"
31
31
  },
32
32
  "engines": {