@testrigor/testrigor-cli 0.0.50-beta → 0.0.51-beta
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 +15 -14
- package/dist/commands/test-suite/run.js +2 -1
- package/oclif.manifest.json +12 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,20 +18,21 @@ This is a command line tool for TestRigor. It allows you to run TestRigor tests
|
|
|
18
18
|
7. With test cases `testrigor test-suite run <test-suite-id> --token <token> --test-cases-path test_cases/**/*.{yaml,txt}`
|
|
19
19
|
8. With rules `testrigor test-suite run <test-suite-id> --token <token> --rules-path rules/**/*.yaml`
|
|
20
20
|
9. With settings `testrigor test-suite run <test-suite-id> --token <token> --settings-path settings.yaml` (Can be YAML or JSON)
|
|
21
|
-
10. Run a single test case `testrigor test-suite run <test-suite-id> --token <token> --test-case-uuid <test-case-uuid>`
|
|
22
|
-
11. Run multiple test cases `testrigor test-suite run <test-suite-id> --token <token> --test-case-uuid <test-case-uuid-1> --test-case-uuid <test-case-uuid-2>`
|
|
23
|
-
12. Run
|
|
24
|
-
13. Run with
|
|
25
|
-
14.
|
|
26
|
-
15.
|
|
27
|
-
16.
|
|
28
|
-
17.
|
|
29
|
-
18.
|
|
30
|
-
19.
|
|
31
|
-
20.
|
|
32
|
-
21.
|
|
33
|
-
22.
|
|
34
|
-
23.
|
|
21
|
+
10. Run a single test case `testrigor test-suite run <test-suite-id> --token <token> --test-case-uuid <test-case-uuid> --url <url>`
|
|
22
|
+
11. Run multiple test cases `testrigor test-suite run <test-suite-id> --token <token> --test-case-uuid <test-case-uuid-1> --test-case-uuid <test-case-uuid-2> --url <url>`
|
|
23
|
+
12. Run a mobile test case with an APK `testrigor test-suite run <test-suite-id> --token <token> --test-case-uuid <test-case-uuid> --file-path ./app.apk`
|
|
24
|
+
13. Run with auto create AI rules enabled `testrigor test-suite run <test-suite-id> --token <token> --test-cases-path test_cases/**/*.{yaml,txt} --auto-create-ai-rules`
|
|
25
|
+
14. Run with explicit mutations enabled `testrigor test-suite run <test-suite-id> --token <token> --test-cases-path test_cases/**/*.{yaml,txt} --explicit-mutations`
|
|
26
|
+
15. With all options `testrigor test-suite run <test-suite-id> --token <token> --url <url> --branch <branch> --commit <commit> --variables-path file.json --localhost --test-cases-path test_cases/**/*.{yaml,txt} --rules-path rules/**/*.{yaml,txt} --auto-create-ai-rules --explicit-mutations`
|
|
27
|
+
16. Save JUnit report to `./junit-report.xml` (works only in sync mode): `testrigor test-suite run <test-suite-id> --token <token> --junit-report-save-path ./report.xml`
|
|
28
|
+
17. With comma-separated labels `testrigor test-suite run <test-suite-id> --token <token> --labels <labels>`
|
|
29
|
+
18. Excluding comma-separated labels `testrigor test-suite run <test-suite-id> --token <token> --excluded-labels <excluded-labels>`
|
|
30
|
+
19. With different WEB and API URLs `testrigor test-suite run <test-suite-id> --token <token> --base-url-web=<base-web-url> --base-url-api=<base_api_url>`
|
|
31
|
+
20. Set the default test suite ID: `testrigor test-suite config --default <test-suite-id>`
|
|
32
|
+
21. Remove the default test suite ID: `testrigor test-suite config --delete`
|
|
33
|
+
22. Show current configuration: `testrigor test-suite config --show`
|
|
34
|
+
23. Authenticate with TestRigor and store credentials (interactive prompt): `testrigor authenticate`
|
|
35
|
+
24. Run with override chrome extensions at runtime (one or more chrome extensions): `test-suite run <test-suite-id> --token <token> --chrome-extension "name=<extension-name> file=<extension-file>" --chrome-extension "name=<extension-name> file=<extension-file>"`
|
|
35
36
|
|
|
36
37
|
### Mobile Testing
|
|
37
38
|
|
|
@@ -888,8 +888,9 @@ Run.flags = {
|
|
|
888
888
|
description: "Path to a YAML or JSON file with local test nodes configuration",
|
|
889
889
|
}),
|
|
890
890
|
"test-case-uuid": core_1.Flags.string({
|
|
891
|
-
description: "Test case uuid (can be repeated
|
|
891
|
+
description: "Test case uuid (can be repeated). Requires --url (web) or --file-path (mobile app upload).",
|
|
892
892
|
multiple: true,
|
|
893
|
+
relationships: [{ type: "some", flags: ["url", "file-path"] }],
|
|
893
894
|
}),
|
|
894
895
|
"auto-create-ai-rules": core_1.Flags.boolean({
|
|
895
896
|
description: "Enable auto create AI based rules",
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.51-beta",
|
|
3
3
|
"commands": {
|
|
4
4
|
"authenticate": {
|
|
5
5
|
"id": "authenticate",
|
|
@@ -204,8 +204,17 @@
|
|
|
204
204
|
"test-case-uuid": {
|
|
205
205
|
"name": "test-case-uuid",
|
|
206
206
|
"type": "option",
|
|
207
|
-
"description": "Test case uuid (can be repeated
|
|
208
|
-
"multiple": true
|
|
207
|
+
"description": "Test case uuid (can be repeated). Requires --url (web) or --file-path (mobile app upload).",
|
|
208
|
+
"multiple": true,
|
|
209
|
+
"relationships": [
|
|
210
|
+
{
|
|
211
|
+
"type": "some",
|
|
212
|
+
"flags": [
|
|
213
|
+
"url",
|
|
214
|
+
"file-path"
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
]
|
|
209
218
|
},
|
|
210
219
|
"auto-create-ai-rules": {
|
|
211
220
|
"name": "auto-create-ai-rules",
|