apextestlist 1.2.0 → 1.4.0
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/README.md +11 -3
- package/lib/commands/apextests/list.d.ts +1 -0
- package/lib/commands/apextests/list.js +31 -4
- package/lib/commands/apextests/list.js.map +1 -1
- package/lib/helpers/validateTests.d.ts +5 -0
- package/lib/helpers/validateTests.js +48 -0
- package/lib/helpers/validateTests.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/messages/apextests.list.md +12 -11
- package/oclif.lock +2086 -2548
- package/oclif.manifest.json +15 -5
- package/package.json +24 -8
package/oclif.manifest.json
CHANGED
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
"apextests:list": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "Lists tests in a package.xml file or from
|
|
6
|
+
"description": "Lists tests in a package.xml file or from your package directories.",
|
|
7
7
|
"examples": [
|
|
8
8
|
"<%= config.bin %> <%= command.id %> --format csv",
|
|
9
|
-
"<%= config.bin %> <%= command.id %> --format sf
|
|
10
|
-
"<%= config.bin %> <%= command.id %> --format sf --manifest package.xml"
|
|
9
|
+
"<%= config.bin %> <%= command.id %> --format sf",
|
|
10
|
+
"<%= config.bin %> <%= command.id %> --format sf --manifest package.xml",
|
|
11
|
+
"<%= config.bin %> <%= command.id %> --format sf --manifest package.xml --ignore-missing-tests"
|
|
11
12
|
],
|
|
12
13
|
"flags": {
|
|
13
14
|
"json": {
|
|
@@ -37,13 +38,22 @@
|
|
|
37
38
|
},
|
|
38
39
|
"manifest": {
|
|
39
40
|
"char": "x",
|
|
40
|
-
"description": "When you specify a manifest file, the plugin will not search directories for all classes with annotations, but instead will read the manifest file and search for those classes within
|
|
41
|
+
"description": "When you specify a manifest file, the plugin will not search directories for all classes with annotations, but instead will read the manifest file and search for those classes within your package directories.",
|
|
41
42
|
"name": "manifest",
|
|
42
43
|
"required": false,
|
|
43
44
|
"summary": "Manifest XML file.",
|
|
44
45
|
"hasDynamicHelp": false,
|
|
45
46
|
"multiple": false,
|
|
46
47
|
"type": "option"
|
|
48
|
+
},
|
|
49
|
+
"ignore-missing-tests": {
|
|
50
|
+
"char": "s",
|
|
51
|
+
"description": "If provided, ignore test methods that are not found in any of the package directories.",
|
|
52
|
+
"name": "ignore-missing-tests",
|
|
53
|
+
"required": false,
|
|
54
|
+
"summary": "Ignore missing test methods.",
|
|
55
|
+
"allowNo": false,
|
|
56
|
+
"type": "boolean"
|
|
47
57
|
}
|
|
48
58
|
},
|
|
49
59
|
"hasDynamicHelp": false,
|
|
@@ -69,5 +79,5 @@
|
|
|
69
79
|
]
|
|
70
80
|
}
|
|
71
81
|
},
|
|
72
|
-
"version": "1.
|
|
82
|
+
"version": "1.4.0"
|
|
73
83
|
}
|
package/package.json
CHANGED
|
@@ -1,26 +1,34 @@
|
|
|
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.
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@oclif/core": "4.0.
|
|
7
|
-
"@salesforce/core": "^8.5.
|
|
8
|
-
"@salesforce/sf-plugins-core": "^11.3.
|
|
6
|
+
"@oclif/core": "4.0.22",
|
|
7
|
+
"@salesforce/core": "^8.5.7",
|
|
8
|
+
"@salesforce/sf-plugins-core": "^11.3.10",
|
|
9
9
|
"async": "^3.2.6",
|
|
10
10
|
"isomorphic-git": "^1.27.1",
|
|
11
11
|
"xml2js": "^0.6.2"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
+
"@commitlint/cli": "^19.5.0",
|
|
15
|
+
"@commitlint/config-conventional": "^19.5.0",
|
|
14
16
|
"@oclif/plugin-command-snapshot": "^5.2.15",
|
|
15
17
|
"@salesforce/cli-plugins-testkit": "^5.3.30",
|
|
16
18
|
"@salesforce/dev-scripts": "^10.2.10",
|
|
17
19
|
"@types/async": "^3.2.24",
|
|
20
|
+
"@types/mocha": "^10",
|
|
21
|
+
"@types/node": "^22.5.4",
|
|
18
22
|
"@types/xml2js": "^0.4.14",
|
|
19
23
|
"eslint-plugin-sf-plugin": "^1.20.7",
|
|
20
|
-
"husky": "^9.1.
|
|
21
|
-
"
|
|
24
|
+
"husky": "^9.1.6",
|
|
25
|
+
"mocha": "^10.7.3",
|
|
26
|
+
"nyc": "^17.0.0",
|
|
27
|
+
"oclif": "^4.14.32",
|
|
28
|
+
"prettier": "^3.3.3",
|
|
29
|
+
"pretty-quick": "^4.0.0",
|
|
22
30
|
"ts-node": "^10.9.2",
|
|
23
|
-
"typescript": "
|
|
31
|
+
"typescript": "5.6.2",
|
|
24
32
|
"wireit": "^0.14.9"
|
|
25
33
|
},
|
|
26
34
|
"engines": {
|
|
@@ -186,7 +194,15 @@
|
|
|
186
194
|
"output": []
|
|
187
195
|
}
|
|
188
196
|
},
|
|
197
|
+
"repository": {
|
|
198
|
+
"type": "git",
|
|
199
|
+
"url": "https://github.com/renatoliveira/apex-test-list"
|
|
200
|
+
},
|
|
201
|
+
"bugs": {
|
|
202
|
+
"url": "https://github.com/renatoliveira/apex-test-list"
|
|
203
|
+
},
|
|
189
204
|
"exports": "./lib/index.js",
|
|
190
205
|
"type": "module",
|
|
191
|
-
"author": "Renato Oliveira"
|
|
206
|
+
"author": "Renato Oliveira",
|
|
207
|
+
"packageManager": "yarn@1.22.22"
|
|
192
208
|
}
|