@step-forge/step-forge 0.0.24 → 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 -10
- package/dist/cli.cjs +369 -98
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +369 -98
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/RUNTIME.md
CHANGED
|
@@ -143,10 +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
|
-
|
|
149
|
-
|
|
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.
|
|
150
156
|
|
|
151
157
|
```bash
|
|
152
158
|
step-forge -i # browse and pick from everything
|
|
@@ -160,17 +166,20 @@ population):
|
|
|
160
166
|
every subsequent file change. Pressing Enter again forces a re-run.
|
|
161
167
|
- **Editing the query** suspends auto-runs until you press Enter again — so you
|
|
162
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).
|
|
163
171
|
- **Esc** disarms and returns to browsing.
|
|
164
|
-
- **Ctrl-C** quits.
|
|
172
|
+
- **Ctrl-C** quits and restores the terminal.
|
|
165
173
|
|
|
166
|
-
A selection that resolves to a **single scenario** is
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
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.
|
|
170
177
|
|
|
171
178
|
Each run executes in a fresh `step-forge` child process, so edited step
|
|
172
179
|
definitions are always picked up — there is no stale module cache between runs.
|
|
173
|
-
|
|
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).
|
|
174
183
|
|
|
175
184
|
## Hooks
|
|
176
185
|
|