commit 2dc9e0077f754f6a77ab34081d4b6e567e6eab46 Author: Axel Meyer Date: Sun May 31 01:47:42 2026 +0200 dep-fetcher-test-runner v0.1.0 Thin test-module wrapper that re-exports the assertions from lib-management.dep-fetcher-test so they participate in test-all-modules.sh aggregation (and therefore milestone-check). kind=test-module rather than kind=module because production modules cannot depend on test-role libs (engine_lib_resolver §role-constraint); the test lib is role=test, so the runner must be a test-module. Direct deps on dep-fetcher-test, dep-fetcher, and lib-core.git because engine_lib_resolver does NOT expand transitive lib-deps — each lib that init.lua / lib-init paths may require() must be in the module's direct deps list. diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..86ca220 --- /dev/null +++ b/init.lua @@ -0,0 +1,16 @@ +-- dep-fetcher-test-runner — kind:test-module +-- +-- Bridges the engine's test-module entry-point into the assertion-suite +-- shipped by lib-management.dep-fetcher-test. The test lib is role=test +-- so this runner cannot be kind:"module" — production consumers may +-- not depend on test libs (engine_lib_resolver §role-constraint). +-- +-- All assertions live in the lib; this runner is a thin dispatcher so +-- the same suite can be re-driven from any future engine-side test +-- harness without re-writing it. + +local t = require("lib-management.dep-fetcher-test") + +function init(ctx) + t.run_tests() +end diff --git a/manifest.core b/manifest.core new file mode 100644 index 0000000..b2ab3ab --- /dev/null +++ b/manifest.core @@ -0,0 +1,6 @@ +{ + "id": "dep-fetcher-test-runner.core", + "kind": "lib", + "version": "0.1.0", + "license": "Proprietary" +} diff --git a/manifest.module b/manifest.module new file mode 100644 index 0000000..6eaff5a --- /dev/null +++ b/manifest.module @@ -0,0 +1,13 @@ +{ + "id": "dep-fetcher-test-runner", + "version": "0.1.0", + "kind": "test-module", + "api": "^0.1", + "ci_frames": 1, + "entry_point": "init.lua", + "deps": [ + {"id": "lib-management.dep-fetcher-test", "version": "0.1.0"}, + {"id": "lib-management.dep-fetcher", "version": "0.1.0"}, + {"id": "lib-core.git", "version": "0.1.0"} + ] +}