wayfarer-cli 2.1.0 → 2.2.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 CHANGED
@@ -66,13 +66,14 @@ wayfarer-cli run <file> [options]
66
66
  | Option | What it does |
67
67
  |---|---|
68
68
  | `-e`, `--environment <file>` | The variables: a Wayfarer environments file or a Postman environment. |
69
+ | `--environment-name <name>` | Which environment of a file that holds several, such as the app's **Export environments**. |
69
70
  | `-d`, `--data <file>` | A data file, CSV or JSON. Each row is one iteration. |
70
71
  | `-n`, `--iterations <n>` | How many iterations. Default: one per row of the data file, or 1. |
71
72
  | `--collection <name>` | Which collection to run, from a file that holds several. |
72
73
  | `--reporter <list>` | `cli`, `json`, `junit`, `html`, comma-separated. Default `cli`. |
73
74
  | `--out <dir>` | Where the `json`, `junit` and `html` reports go. Default: the current folder. |
74
75
  | `--bail` | Stop at the first failure. |
75
- | `--timeout <ms>` | Give up on a request after this long. Default: no limit. |
76
+ | `--timeout <ms>` | Give up on a request after this long, at most `300000`. Default `300000`: Node's fetch waits no longer for a response. |
76
77
  | `--insecure` | Don't verify TLS certificates, for every request of the run. |
77
78
  | `--allow-scripts` | Run the file's scripts (see below). |
78
79
  | `--vault-file <file>` | A vault exported from the app, for requests that use a vault secret. |
@@ -84,7 +85,7 @@ wayfarer-cli run <file> [options]
84
85
  | Code | Meaning |
85
86
  |---|---|
86
87
  | `0` | Every request got a response and every test passed. |
87
- | `1` | A test failed, a request got no response, or a script ended in an error. |
88
+ | `1` | A test failed, a request got no response, a script ended in an error, or a report could not be written. |
88
89
  | `2` | Nothing was run. The message on stderr says why. |
89
90
 
90
91
  ## Scripts run only when you allow them