test: guard BEDIENUNGSANLEITUNG.md against drift
bash tests/test_install_doc.sh # structure + live checks
bash tests/test_install_doc.sh --offline # structure only, no network
make test-doc
Two layers:
FAIL — local, deterministic: code-fence balance, internal section
references resolve, file-listing paths exist in repo, key tokens
(npm pkg, NodeSource URL, repo URL) present, model slugs
consistent between manual and profiles.example.yml.
WARN — online, flaky-tolerant: npm package resolves, NodeSource/nvm
URLs reachable, OpenRouter slugs still in the public model list.
A transient outage is a warning, not a failure.
Catches the failure classes that silently crept in before: a referenced
section number that no longer exists, a repo path renamed without updating
the manual, a stale npm package name, a renamed model slug.
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
f623c424d0
commit
d8bfe5fc3e
2 changed files with 194 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -1,3 +1,6 @@
|
|||
.PHONY: test
|
||||
.PHONY: test test-doc
|
||||
test:
|
||||
@bash tests/test_profiles.sh
|
||||
|
||||
test-doc:
|
||||
@bash tests/test_install_doc.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue