apextestlist 1.2.0 → 1.3.1
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 +3 -3
- package/lib/commands/apextests/list.d.ts +1 -0
- package/lib/commands/apextests/list.js +30 -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 +10385 -7438
- package/oclif.manifest.json +15 -5
- package/package.json +14 -9
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.3.1"
|
|
73
83
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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.3.1",
|
|
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"
|
|
@@ -15,12 +15,16 @@
|
|
|
15
15
|
"@salesforce/cli-plugins-testkit": "^5.3.30",
|
|
16
16
|
"@salesforce/dev-scripts": "^10.2.10",
|
|
17
17
|
"@types/async": "^3.2.24",
|
|
18
|
+
"@types/mocha": "^10",
|
|
18
19
|
"@types/xml2js": "^0.4.14",
|
|
19
20
|
"eslint-plugin-sf-plugin": "^1.20.7",
|
|
20
|
-
"husky": "^9.1.
|
|
21
|
-
"
|
|
21
|
+
"husky": "^9.1.6",
|
|
22
|
+
"mocha": "^10.7.3",
|
|
23
|
+
"nyc": "^17.0.0",
|
|
24
|
+
"oclif": "^4.14.32",
|
|
25
|
+
"pretty-quick": "^4.0.0",
|
|
22
26
|
"ts-node": "^10.9.2",
|
|
23
|
-
"typescript": "
|
|
27
|
+
"typescript": "5.4.5",
|
|
24
28
|
"wireit": "^0.14.9"
|
|
25
29
|
},
|
|
26
30
|
"engines": {
|
|
@@ -188,5 +192,6 @@
|
|
|
188
192
|
},
|
|
189
193
|
"exports": "./lib/index.js",
|
|
190
194
|
"type": "module",
|
|
191
|
-
"author": "Renato Oliveira"
|
|
192
|
-
|
|
195
|
+
"author": "Renato Oliveira",
|
|
196
|
+
"packageManager": "yarn@4.4.1"
|
|
197
|
+
}
|