mirror of
https://github.com/NickCrew/Claude-Cortex.git
synced 2026-09-14 20:17:11 +08:00
3694a21de0
Created comprehensive test infrastructure: - tests/conftest.py with shared fixtures (temp_dir, cortex_root_dir, etc.) - tests/unit/ for fast unit tests - tests/integration/ for integration tests - test_command_palette.py: 15 unit tests for CommandRegistry and CommandPalette Test Coverage: - CommandRegistry: register, register_batch, clear, get_all operations - CommandPalette fuzzy matching: exact matches, consecutive chars, no matches - Command filtering and sorting by match score - 62.31% coverage of tui_command_palette module All tests pass in 0.39s, meeting the 15% minimum coverage requirement. Pytest configuration in pytest.ini enables markers and enforces coverage. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>