feat(sub): add explain mode smoke coverage

This commit is contained in:
Aethersailor
2026-05-25 17:21:58 +08:00
parent 88ad3dcfee
commit 85290de257
6 changed files with 391 additions and 0 deletions

21
tests/snapshots/README.md Normal file
View File

@@ -0,0 +1,21 @@
# SubConverter Smoke Snapshots
This directory can hold optional golden outputs for
`scripts/run-subconverter-smoke.py`.
Create or refresh snapshots against a running instance:
```bash
python3 scripts/run-subconverter-smoke.py \
--base-url http://127.0.0.1:25500 \
--snapshot-dir tests/snapshots \
--update-snapshots
```
Run comparison without updating:
```bash
python3 scripts/run-subconverter-smoke.py \
--base-url http://127.0.0.1:25500 \
--snapshot-dir tests/snapshots
```