Skip to content

Commit 36503db

Browse files
committed
feat(metrics): add npm scripts for test metrics and latex table generation
Add test:metrics script to capture test output metrics as JSON. Add gen:latex-tables script to generate LaTeX tables from metrics. Add update:thesis-tables convenience script combining both steps.
1 parent 411e8f0 commit 36503db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
"test": "vitest run --coverage",
4242
"test:exp": "NODE_OPTIONS=\"--max-old-space-size=8192\" npx tsx scripts/run-tap.ts",
4343
"test:tap": "NODE_OPTIONS=\"--max-old-space-size=8192\" npx tsx scripts/run-tap.ts",
44+
"test:metrics": "NODE_OPTIONS=\"--max-old-space-size=8192\" npx tsx scripts/run-tap.ts --metrics",
45+
"gen:latex-tables": "tsx scripts/generate-latex-tables.ts",
46+
"update:thesis-tables": "pnpm test:metrics && pnpm gen:latex-tables",
4447
"parse-tap": "tsx scripts/parse-tap-results.ts test-results.tap",
4548
"parse-tap:json": "tsx scripts/parse-tap-results.ts test-results.tap --format json --output tap-results.json",
4649
"parse-tap:csv": "tsx scripts/parse-tap-results.ts test-results.tap --format csv --output tap-metrics.csv",

0 commit comments

Comments
 (0)