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:
16
init.lua
Normal file
16
init.lua
Normal 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
|
||||
Reference in New Issue
Block a user