fix: resolve all test failures and improve test infrastructure

- Fix visualization schema tests to use correct tool paths (tools/visualize_schema.py)
- Fix cache management test to use project cache directory consistently
- Add missing toml dependency for frontmatter support
- Create comprehensive DEPENDENCIES.md documentation
- Achieve 100% test pass rate (800/800 tests passing)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-03 05:37:17 +02:00
parent 65afc43d6b
commit 3231bd291a
3 changed files with 112 additions and 15 deletions

View File

@@ -67,8 +67,13 @@ This is test content.
def test_cache_stats_shows_total_files_count(self):
"""RED: cache-stats should show count of cached files."""
# Create cache with known files
cache = ASTCache(self.cache_dir)
# Clean existing cache first
self.runner.invoke(cli, ['cache-clean'])
# Create cache with known files using the project's default cache location
from pathlib import Path
project_cache_dir = Path.cwd() / ".ast_cache"
cache = ASTCache(project_cache_dir)
cache.cache_file(self.test_file)
result = self.runner.invoke(cli, ['cache-stats'])