executable-stories-formatters 0.2.0 → 0.3.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 +1 -1
- package/dist/cli.js +79 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +109 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.js +106 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/README.md +7 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "executable-stories-formatters",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Cucumber-compatible report formats (HTML, Markdown, JUnit XML, Cucumber JSON) for executable-stories test results.",
|
|
5
5
|
"author": "Jag Reehal <jag@jagreehal.com>",
|
|
6
6
|
"license": "MIT",
|
package/schemas/README.md
CHANGED
|
@@ -175,11 +175,11 @@ SUBCOMMANDS
|
|
|
175
175
|
| `--output-name <name>` | `test-results` | Base filename |
|
|
176
176
|
| `--synthesize-stories` | on | Synthesize story metadata for plain test results |
|
|
177
177
|
| `--no-synthesize-stories` | | Disable story synthesis (strict mode) |
|
|
178
|
-
| `--html-title <title>`
|
|
179
|
-
| `--html-syntax-highlighting`
|
|
180
|
-
| `--html-mermaid`
|
|
181
|
-
| `--html-markdown`
|
|
182
|
-
| `--stdin`
|
|
178
|
+
| `--html-title <title>` | `Test Results` | HTML report title |
|
|
179
|
+
| `--html-no-syntax-highlighting` | | Disable syntax highlighting in HTML (enabled by default) |
|
|
180
|
+
| `--html-no-mermaid` | | Disable Mermaid diagrams in HTML (enabled by default) |
|
|
181
|
+
| `--html-no-markdown` | | Disable markdown parsing in HTML (enabled by default) |
|
|
182
|
+
| `--stdin` | | Read JSON from stdin instead of file |
|
|
183
183
|
| `--json-summary` | off | Print machine-parsable JSON summary |
|
|
184
184
|
| `--emit-canonical <path>` | | Write canonical JSON to given path |
|
|
185
185
|
| `--help` | | Show help message |
|
|
@@ -206,13 +206,8 @@ executable-stories format run.json --format html,markdown --output-dir reports
|
|
|
206
206
|
# Pipe from stdin
|
|
207
207
|
cat run.json | executable-stories format --stdin --format html
|
|
208
208
|
|
|
209
|
-
# Generate with
|
|
210
|
-
executable-stories format run.json
|
|
211
|
-
--format html \
|
|
212
|
-
--html-syntax-highlighting \
|
|
213
|
-
--html-mermaid \
|
|
214
|
-
--html-markdown \
|
|
215
|
-
--html-title "Sprint 42 Results"
|
|
209
|
+
# Generate HTML with custom title (syntax highlighting, Mermaid, Markdown are on by default)
|
|
210
|
+
executable-stories format run.json --format html --html-title "Sprint 42 Results"
|
|
216
211
|
|
|
217
212
|
# Export canonical JSON for debugging
|
|
218
213
|
executable-stories format run.json --emit-canonical canonical.json
|