@hasna/testers 0.0.42 → 0.0.44
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 +21 -0
- package/dist/cli/index.js +359 -179
- package/dist/db/projects.d.ts.map +1 -1
- package/dist/db/scenarios.d.ts.map +1 -1
- package/dist/index.js +34 -7
- package/dist/lib/config.d.ts +1 -0
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/workflow-fanout.d.ts +36 -0
- package/dist/lib/workflow-fanout.d.ts.map +1 -0
- package/dist/lib/workflow-runner.d.ts +3 -1
- package/dist/lib/workflow-runner.d.ts.map +1 -1
- package/dist/mcp/index.js +38 -10
- package/dist/server/index.js +36 -9
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,6 +22,27 @@ testers run https://my-preview.example.com
|
|
|
22
22
|
|
|
23
23
|
Passing a URL as the first argument will, by default, crawl the site and auto-generate scenarios if none exist for the project. Disable with `--no-auto-generate`.
|
|
24
24
|
|
|
25
|
+
### Sandbox Workflow Fanout
|
|
26
|
+
|
|
27
|
+
Saved workflows can run in E2B-backed sandboxes through `@hasna/sandboxes`. Sandbox workflow uploads default to `rsync` staging and the image-model default is `gpt-image-2`.
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
export E2B_API_KEY=...
|
|
31
|
+
|
|
32
|
+
testers workflow create "Projects CRUD" \
|
|
33
|
+
--project alumia \
|
|
34
|
+
--tag projects \
|
|
35
|
+
--target sandbox \
|
|
36
|
+
--sandbox-provider e2b \
|
|
37
|
+
--sandbox-sync rsync \
|
|
38
|
+
--timeout 600000
|
|
39
|
+
|
|
40
|
+
testers workflow fanout --project alumia --workers 6 --url https://preview.example.com
|
|
41
|
+
testers workflow fanout wf_abc,wf_def wf_xyz --workers 12 --url https://preview.example.com --json
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
`--workers` is bounded to 1-12 concurrent sandboxes. Use `--dry-run` to inspect the remote commands and upload plans without spawning sandboxes.
|
|
45
|
+
|
|
25
46
|
### Common Flags
|
|
26
47
|
|
|
27
48
|
- `--json --output results.json` — write structured results to a file for downstream tooling.
|