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:
@@ -20,6 +20,15 @@ graph LR
|
||||
```
|
||||
<!-- topology:end -->
|
||||
|
||||
## API
|
||||
|
||||
### `run_tests(ctx)`
|
||||
**Syntax:** `M.run_tests(ctx)` -> void
|
||||
|
||||
**Description:** Test-runner entrypoint. Executes 17 assertions against
|
||||
`lib-core.input`. Called automatically by the engine's
|
||||
`--test-libs=` orchestrator. Exits via `engine.exit(engine.test.failures())`.
|
||||
|
||||
## Coverage Statement
|
||||
|
||||
Per Fault-Injection-Audit-Convention (2026-05-16):
|
||||
|
||||
Reference in New Issue
Block a user