@step-forge/step-forge 0.0.23 → 0.0.25-alpha.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/RUNTIME.md +19 -9
- package/dist/cli.cjs +381 -107
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +381 -107
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/RUNTIME.md
CHANGED
|
@@ -143,9 +143,16 @@ fails, so it drops straight into CI.
|
|
|
143
143
|
|
|
144
144
|
## Interactive mode
|
|
145
145
|
|
|
146
|
-
`step-forge -i`
|
|
147
|
-
feature/step directories.
|
|
148
|
-
|
|
146
|
+
`step-forge -i` takes over the terminal with a full-screen dashboard and watches
|
|
147
|
+
your feature/step directories. It is laid out top-to-bottom:
|
|
148
|
+
|
|
149
|
+
1. **Prompt** — a Claude-Code-style typeahead. Start typing to filter every
|
|
150
|
+
**tag**, **feature**, and **scenario** in your suite. A **scenario outline**
|
|
151
|
+
appears as a single entry that runs all of its example rows.
|
|
152
|
+
2. **Selection** — the ranked matches; `↑`/`↓` move the highlight.
|
|
153
|
+
3. **Results** — the current run, ordered so the summary is right under the
|
|
154
|
+
controls: **stats** (live pass/fail/skip tallies + duration) on top, the
|
|
155
|
+
**progress dots** below them, and any **failures** at the bottom.
|
|
149
156
|
|
|
150
157
|
```bash
|
|
151
158
|
step-forge -i # browse and pick from everything
|
|
@@ -159,17 +166,20 @@ population):
|
|
|
159
166
|
every subsequent file change. Pressing Enter again forces a re-run.
|
|
160
167
|
- **Editing the query** suspends auto-runs until you press Enter again — so you
|
|
161
168
|
can retarget without a half-typed selection firing.
|
|
169
|
+
- **↑ / ↓** move the selection highlight; **PgUp / PgDn** scroll the failures
|
|
170
|
+
pane when a run has more failures than fit on screen (the top stays pinned).
|
|
162
171
|
- **Esc** disarms and returns to browsing.
|
|
163
|
-
- **Ctrl-C** quits.
|
|
172
|
+
- **Ctrl-C** quits and restores the terminal.
|
|
164
173
|
|
|
165
|
-
A selection that resolves to a **single scenario** is
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
reporter.
|
|
174
|
+
A selection that resolves to a **single scenario** is first passed through the
|
|
175
|
+
analyzer, so undefined/ambiguous steps and dependency problems surface (above the
|
|
176
|
+
dots) before it runs.
|
|
169
177
|
|
|
170
178
|
Each run executes in a fresh `step-forge` child process, so edited step
|
|
171
179
|
definitions are always picked up — there is no stale module cache between runs.
|
|
172
|
-
|
|
180
|
+
The child streams its results back as an event stream, which the dashboard
|
|
181
|
+
renders in place. Recursive watching works on macOS, Windows, and modern Linux
|
|
182
|
+
(Node ≥ 20 / Bun).
|
|
173
183
|
|
|
174
184
|
## Hooks
|
|
175
185
|
|