executable-stories-formatters 1.6.0 → 1.8.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 +11 -0
- package/dist/adapters.d.cts +1 -1
- package/dist/adapters.d.ts +1 -1
- package/dist/cli.js +6044 -5520
- package/dist/cli.js.map +1 -1
- package/dist/{index-Cfs2L3di.d.cts → index-CmEmALo3.d.cts} +6 -0
- package/dist/{index-Cfs2L3di.d.ts → index-CmEmALo3.d.ts} +6 -0
- package/dist/index.cjs +6496 -6189
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -5
- package/dist/index.d.ts +25 -5
- package/dist/index.js +6480 -6175
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/schemas/examples/dotnet.json +32 -2
- package/schemas/examples/junit5.json +32 -2
- package/schemas/raw-run.schema.json +32 -0
package/README.md
CHANGED
|
@@ -77,6 +77,9 @@ executable-stories format run.json --format html --notify on-failure --report-ur
|
|
|
77
77
|
# Compare two runs and fail CI on regressions
|
|
78
78
|
executable-stories compare baseline.json current.json --format markdown --fail-on-regression
|
|
79
79
|
|
|
80
|
+
# Requirement-first audit exports; CSV includes evidence_grade
|
|
81
|
+
executable-stories format run.json --format traceability-matrix,traceability-csv
|
|
82
|
+
|
|
80
83
|
# Compare with threshold gating (allow up to 2 regressions)
|
|
81
84
|
executable-stories compare baseline.json current.json --format html --max-regressions 2
|
|
82
85
|
|
|
@@ -105,6 +108,11 @@ Add the command to your `CLAUDE.md` / `AGENTS.md` so the agent runs it after eve
|
|
|
105
108
|
|
|
106
109
|
Use compare mode to produce diff reports between two runs and optionally enforce CI gates:
|
|
107
110
|
|
|
111
|
+
The HTML comparison renders a screenshot storyboard for `Regressed` and
|
|
112
|
+
`Fixed` scenarios when the current run carries browser-renderable screenshots
|
|
113
|
+
on its steps. This keeps the product state that explains the flip next to the
|
|
114
|
+
before/after result.
|
|
115
|
+
|
|
108
116
|
- `--fail-on-regression` — fails when any pass→fail regression is found.
|
|
109
117
|
- `--fail-on-added-failures` — fails when new failing scenarios appear in the current run.
|
|
110
118
|
- `--max-regressions <n>` — fails when regressions are greater than `n`.
|
|
@@ -230,6 +238,9 @@ verifiedBy: [pricing, checkout--caps-the-discount-at-30-percent]
|
|
|
230
238
|
| `junit` | JUnit XML for CI integration | `.junit.xml` |
|
|
231
239
|
| `cucumber-json` | Cucumber JSON for tooling compatibility | `.cucumber.json` |
|
|
232
240
|
| `confluence` | Atlassian Document Format (ADF) JSON for Confluence pages and Jira issue descriptions (via REST API) | `.adf.json` |
|
|
241
|
+
| `traceability-matrix` | Requirement-first Markdown: tickets, scenario status, source, and covered code | `.traceability-matrix.md` |
|
|
242
|
+
| `traceability-csv` | Flat audit table with one requirement/scenario row, explicit untraced rows, and Evidence Review `evidence_grade` | `.traceability.csv` |
|
|
243
|
+
| `agent-text` | Full run (steps, docs, errors) as flat token-lean plain text for pasting into an LLM: same content as `markdown`, ~12x smaller than `html` | `.agent.txt` |
|
|
233
244
|
|
|
234
245
|
## Writing a Custom Adapter
|
|
235
246
|
|
package/dist/adapters.d.cts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { J as JestAdapterOptions, o as JestAggregatedResult, p as JestFileResult, q as JestTestResult, P as PlaywrightAdapterOptions, s as PlaywrightAnnotation, t as PlaywrightAttachment, u as PlaywrightError, v as PlaywrightLocation, w as PlaywrightStatus, x as PlaywrightTestCase, y as PlaywrightTestResult, G as StoryFileReport, V as VitestAdapterOptions, L as VitestSerializedError, M as VitestState, Q as VitestTestCase, U as VitestTestModule, W as VitestTestResult, j as adaptJestRun, k as adaptPlaywrightRun, l as adaptVitestRun } from './index-
|
|
1
|
+
export { J as JestAdapterOptions, o as JestAggregatedResult, p as JestFileResult, q as JestTestResult, P as PlaywrightAdapterOptions, s as PlaywrightAnnotation, t as PlaywrightAttachment, u as PlaywrightError, v as PlaywrightLocation, w as PlaywrightStatus, x as PlaywrightTestCase, y as PlaywrightTestResult, G as StoryFileReport, V as VitestAdapterOptions, L as VitestSerializedError, M as VitestState, Q as VitestTestCase, U as VitestTestModule, W as VitestTestResult, j as adaptJestRun, k as adaptPlaywrightRun, l as adaptVitestRun } from './index-CmEmALo3.cjs';
|
package/dist/adapters.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { J as JestAdapterOptions, o as JestAggregatedResult, p as JestFileResult, q as JestTestResult, P as PlaywrightAdapterOptions, s as PlaywrightAnnotation, t as PlaywrightAttachment, u as PlaywrightError, v as PlaywrightLocation, w as PlaywrightStatus, x as PlaywrightTestCase, y as PlaywrightTestResult, G as StoryFileReport, V as VitestAdapterOptions, L as VitestSerializedError, M as VitestState, Q as VitestTestCase, U as VitestTestModule, W as VitestTestResult, j as adaptJestRun, k as adaptPlaywrightRun, l as adaptVitestRun } from './index-
|
|
1
|
+
export { J as JestAdapterOptions, o as JestAggregatedResult, p as JestFileResult, q as JestTestResult, P as PlaywrightAdapterOptions, s as PlaywrightAnnotation, t as PlaywrightAttachment, u as PlaywrightError, v as PlaywrightLocation, w as PlaywrightStatus, x as PlaywrightTestCase, y as PlaywrightTestResult, G as StoryFileReport, V as VitestAdapterOptions, L as VitestSerializedError, M as VitestState, Q as VitestTestCase, U as VitestTestModule, W as VitestTestResult, j as adaptJestRun, k as adaptPlaywrightRun, l as adaptVitestRun } from './index-CmEmALo3.js';
|