supatester-cli 1.0.11 → 1.0.13
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 -9
- package/dist/bin/supatester.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,18 +15,13 @@ npm install -g supatester-cli
|
|
|
15
15
|
```bash
|
|
16
16
|
# Export a test plan from the Supatester desktop app using "Export for CLI"
|
|
17
17
|
# Then run it:
|
|
18
|
-
supatester run ./my-tests.json --url https://your-project.supabase.co --publishable-key your-
|
|
18
|
+
supatester run ./my-tests.json --url https://your-project.supabase.co --publishable-key your-publishable-key
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
cd cli
|
|
22
|
-
npm run build
|
|
23
|
-
node dist/bin/supatester.js run ./supatester-export-project.json --url https://nxwobgdsfgdsdwff.supabase.co --publishable-key "sb_publishable_KJhjshfosdjJHKjdisijdfnkd"
|
|
24
|
-
|
|
25
|
-
|
|
26
21
|
## Usage
|
|
27
22
|
|
|
28
23
|
```
|
|
29
|
-
supatester run <file> [options]
|
|
24
|
+
supatester run <test file> [options]
|
|
30
25
|
```
|
|
31
26
|
|
|
32
27
|
### Connection Options
|
|
@@ -46,7 +41,7 @@ supatester run <file> [options]
|
|
|
46
41
|
|---|---|---|
|
|
47
42
|
| `--bail` | `false` | Stop on first test failure |
|
|
48
43
|
| `--no-bail` | — | Ignore `stopOnFailure` from test plans |
|
|
49
|
-
| `--test-plan <name>` | all | Run only the specified test plan (repeatable) |
|
|
44
|
+
| `--test-plan <name>` | all | Run only the specified test plan from a file that has multiple test plans (repeatable) |
|
|
50
45
|
| `--delay-request <ms>` | `0` | Delay between requests |
|
|
51
46
|
| `--timeout <ms>` | `0` | Overall timeout |
|
|
52
47
|
| `--timeout-request <ms>` | `30000` | Per-request timeout |
|
|
@@ -157,7 +152,6 @@ jobs:
|
|
|
157
152
|
reporter: java-junit
|
|
158
153
|
```
|
|
159
154
|
|
|
160
|
-
|
|
161
155
|
## Programmatic API
|
|
162
156
|
|
|
163
157
|
```typescript
|