tests

The tests/ directory contains the project's test suite, covering unit and integration tests for the parser, storage, tools, and context providers.

Purpose

This module ensures correctness of symbol extraction, index persistence, search accuracy, and context enrichment across all supported languages and ecosystem integrations. Tests validate that tree-sitter parsing produces expected Symbol objects, that IndexStore round-trips data faithfully, and that the MCP tool endpoints return properly structured responses.

Organization

Tests typically mirror the src/jcodemunch_mcp/ package structure, with test files corresponding to each production module. Fixtures and sample repositories are used to provide deterministic test inputs for the parser and benchmark harness.