docs: add API section documenting run_tests entrypoint

Test-lib README now declares its public surface (M.run_tests) so the
doc-convention lint passes structural validation. Brings parity with
maps-test which already has this section.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Axel Meyer
2026-05-16 18:01:41 +02:00
parent f04e90b292
commit 0b1077da5c

View File

@@ -22,6 +22,15 @@ graph LR
``` ```
<!-- topology:end --> <!-- topology:end -->
## API
### `run_tests(ctx)`
**Syntax:** `M.run_tests(ctx)` -> void
**Description:** Test-runner entrypoint. Executes 16 assertions against
`lib-core.camera`. Called automatically by the engine's
`--test-libs=` orchestrator. Exits via `engine.exit(engine.test.failures())`.
## Coverage Statement ## Coverage Statement
Per Fault-Injection-Audit-Convention (2026-05-16): Per Fault-Injection-Audit-Convention (2026-05-16):