Skip to content

test: add MCP handler coverage and real Konclude integration tests - #33

Merged
ThHanke merged 1 commit into
mainfrom
test/mcp-handler-coverage
Jul 23, 2026
Merged

test: add MCP handler coverage and real Konclude integration tests#33
ThHanke merged 1 commit into
mainfrom
test/mcp-handler-coverage

Conversation

@ThHanke

@ThHanke ThHanke commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Add explainDiagnostics integration test (9 tests) exercising the full repair pipeline with real Konclude WASM: MIPS → hitting set → axiom weakening → per-axiom/full-set/minimality verification → repair brief. Includes degradation paths (empty hierarchy, oracle throws at each stage), laconic justifications, two-clash per-axiom-false/full-set-true, and weakening soundness verification (apply remove+add batch, re-check).

Add explainEntailment handler tests (11 tests), provenance MCP tool arg parsing tests (11 tests), and loadOntology handler tests (6 tests).

Remove 6 mocked explainDiagnostics tests from reasoning.test.ts that are now redundant with real Konclude integration coverage. Keep 6 handler-wiring tests that require mocking rdfManager (laconic fallback, matchWarning, SHACL threading, error wrapping, arg passthrough).

Add explainDiagnostics integration test (9 tests) exercising the full
repair pipeline with real Konclude WASM: MIPS → hitting set → axiom
weakening → per-axiom/full-set/minimality verification → repair brief.
Includes degradation paths (empty hierarchy, oracle throws at each stage),
laconic justifications, two-clash per-axiom-false/full-set-true, and
weakening soundness verification (apply remove+add batch, re-check).

Add explainEntailment handler tests (11 tests), provenance MCP tool arg
parsing tests (11 tests), and loadOntology handler tests (6 tests).

Remove 6 mocked explainDiagnostics tests from reasoning.test.ts that are
now redundant with real Konclude integration coverage. Keep 6 handler-wiring
tests that require mocking rdfManager (laconic fallback, matchWarning,
SHACL threading, error wrapping, arg passthrough).
@ThHanke
ThHanke merged commit a8c23d3 into main Jul 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant