commit ba22f77e5d3abc312855c3b6fafd776fa34e190d Author: Axel Meyer Date: Sat May 16 12:41:59 2026 +0200 init: lib-core.api-discovery-test v0.1.0 skeleton Empty run_tests body. Assertions added incrementally via TDD in subsequent S2-plan tasks. Co-Authored-By: Claude Opus 4.7 (1M context) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..41ae811 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +build/ +*.log diff --git a/README.md b/README.md new file mode 100644 index 0000000..1e45f6c --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# lib-core.api-discovery-test + +Test-lib for `lib-core.api-discovery` (Tests-as-Libs per ADR-0037). Coverage-Statements added incrementally. diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..4ff099e --- /dev/null +++ b/init.lua @@ -0,0 +1,12 @@ +-- lib-core.api-discovery-test — Test-lib for lib-core.api-discovery +local api = require("lib-core.api-discovery") + +local M = {} + +function M.run_tests(ctx) + -- Assertions added in plan tasks 2-7. + + engine.exit(engine.test.failures()) +end + +return M diff --git a/manifest.core b/manifest.core new file mode 100644 index 0000000..6e10998 --- /dev/null +++ b/manifest.core @@ -0,0 +1,6 @@ +{ + "id": "lib-core.api-discovery-test.core", + "kind": "lib", + "version": "0.1.0", + "license": "Proprietary" +} diff --git a/manifest.lib b/manifest.lib new file mode 100644 index 0000000..df1abad --- /dev/null +++ b/manifest.lib @@ -0,0 +1,9 @@ +{ + "id": "lib-core.api-discovery-test", + "role": "test", + "version": "0.1.0", + "api_min": "0.1", + "deps": [ + {"id": "lib-core.api-discovery", "version": "0.1.0"} + ] +}