Skip to content

test: add tests for unresolved include detection (#160)#255

Merged
raifdmueller merged 2 commits intodocToolchain:mainfrom
raifdmueller:fix/unresolved-includes-validation-160
Feb 7, 2026
Merged

test: add tests for unresolved include detection (#160)#255
raifdmueller merged 2 commits intodocToolchain:mainfrom
raifdmueller:fix/unresolved-includes-validation-160

Conversation

@raifdmueller
Copy link
Collaborator

Summary

  • Adds 9 comprehensive tests for the unresolved include detection feature at all layers: MCP tool (5 tests), service layer (2 tests), and CLI (2 tests)
  • The feature itself was already implemented in validate_structure: Broken (unresolved) includes are not detected #219; this PR adds dedicated test coverage and closes the original feature request
  • Bumps version to 0.4.25

Test plan

  • All 9 new tests pass (MCP, service, CLI layers)
  • Full existing test suite (615 tests) continues to pass
  • Tests cover: broken includes detected, valid includes clean, multiple broken includes, error format (type/path/message)

Fixes #160

🤖 Generated with Claude Code

raifdmueller and others added 2 commits February 7, 2026 11:22
…Toolchain#160)

The unresolved include detection feature was implemented in docToolchain#219.
This adds comprehensive test coverage at all layers (MCP tool, service,
CLI) and closes docToolchain#160 which originally requested this feature.

Fixes docToolchain#160

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Collaborator Author

@raifdmueller raifdmueller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

Overall: Very good, no issues

This PR adds 9 comprehensive tests for an already-implemented feature (#219), covering all three layers (MCP tool, service, CLI). Clean test structure with proper fixtures.

Version Conflict

All 3 PRs bump to 0.4.25. Merge this first, then rebase others.

Reviewed-by: R{AI}f D. Müller (AI-assisted review)

@raifdmueller raifdmueller merged commit 38ed00b into docToolchain:main Feb 7, 2026
5 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.

Feature: Detect unresolved includes in validate command

1 participant