The Test Stub Conversion was a critical modernization effort completed on March 23, 2026. Its goal was to decouple the Model Context Protocol (MCP) server tests from the heavyweight WikiEngine and TestEngine, enabling faster, more isolated, and more reliable testing.
Prior to this effort, testing MCP tools required a full TestEngine instance. This meant:
wikantik-main and the MCP modules.The conversion was made possible by ADR-001, which extracted core manager interfaces (like PageManager, ReferenceManager, and GroupManager) from wikantik-main into the lightweight wikantik-api module.
StubPageManager: A lightweight, in-memory implementation of PageManager that allows tests to define a virtual set of pages without any disk I/O.StubReferenceManager: Simulates the wiki's link-tracking and backlink logic in memory.test-jar Configuration: The wikantik-api and wikantik-main modules were configured to produce test-jar artifacts, making these stubs available for use in downstream modules like wikantik-admin-mcp and wikantik-knowledge.On March 23, 2026, the following was achieved:
TestEngine to StubPageManager.StubReferenceManager.WikiEngine, moving to explicit constructor injection of manager interfaces.