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.
This commit is contained in:
Axel Meyer
2026-05-31 01:47:42 +02:00
commit 2dc9e0077f
3 changed files with 35 additions and 0 deletions

16
init.lua Normal file
View File

@@ -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

6
manifest.core Normal file
View File

@@ -0,0 +1,6 @@
{
"id": "dep-fetcher-test-runner.core",
"kind": "lib",
"version": "0.1.0",
"license": "Proprietary"
}

13
manifest.module Normal file
View File

@@ -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"}
]
}