Test Stub Conversion

Status (2026-10-13): The stubs described below still exist, but they live in wikantik-main's test sources (wikantik-main/src/test/java/com/wikantik/test/StubPageManager.java and StubReferenceManager.java) and reach the MCP modules through wikantik-main's test-jar; wikantik-api does not publish a test-jar. The figures under Impact are the March 2026 snapshot: the admin MCP server now registers up to 29 tools and the knowledge MCP server up to 21 (see MCP Integration). In the repository the decision record is docs/adr/0000-extract-manager-interfaces-to-api.md.

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.

The Problem: "Heavyweight" Tests

Prior to this effort, testing MCP tools required a full TestEngine instance. This meant:

The Solution: Interface Extraction & Stubs

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.

Core Components

Impact

On March 23, 2026, the following was achieved:

See Also


Cluster Hub: Wikantik Platform Development Hub: Architecture, MCP Protocols, and Agent Briefings (wikantik-development)