markitect-main/tests
tegwick f4b32ded8a fix: Complete Phase 1.1 - MagicMock directory pollution cleanup
PHASE 1.1 IMPLEMENTATION SUMMARY:
 Removed 200+ MagicMock pollution directories
 Fixed improper Path mocking in test_issue_13_cache_info_command.py
 Improved test mocking patterns (patch cache service vs global Path)
 Maintained 100% test success rate (307/307 tests passing)
 Prevented future pollution with better mocking strategy

CHANGES:
- Removed MagicMock/Path.cwd().__truediv__()/ directory tree
- Updated 6 test methods to use proper service-level mocking
- Replaced problematic patch('markitect.cli.Path') patterns
- Added specific patch('markitect.cache_service.CacheDirectoryService.get_cache_stats')

VALIDATION:
- All 307 tests pass
- No new MagicMock directories created during test runs
- Zero risk, high impact infrastructure cleanup

Implements: MAIN_BRANCH_OPTIMIZATION_GAMEPLAN.md Phase 1.1

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-28 18:00:50 +02:00
..
e2e feat: Complete domain logic separation and comprehensive testing architecture 2025-09-27 02:30:23 +02:00
fixtures feat: Implement comprehensive Testing Architecture Enhancement 2025-09-26 22:36:35 +02:00
integration chore: Remove async demonstration tests 2025-09-27 02:14:23 +02:00
unit fix: Eliminate all 111 test warnings by fixing root causes 2025-09-27 20:14:22 +02:00
utils feat: Implement comprehensive Testing Architecture Enhancement 2025-09-26 22:36:35 +02:00
conftest.py feat: Implement comprehensive Testing Architecture Enhancement 2025-09-26 22:36:35 +02:00
requirements-test.txt feat: Implement comprehensive Testing Architecture Enhancement 2025-09-26 22:36:35 +02:00
test_example.py feat: implement tddai Python library for TDD workspace management 2025-09-22 02:04:19 +02:00
test_issue_1_database_initialization.py test: Add comprehensive test suite for Issue #1 database functionality 2025-09-23 04:29:35 +02:00
test_issue_2_file_ingestion.py feat: Implement comprehensive IssueCreator system and create CLI roadmap issues 2025-09-24 23:36:07 +02:00
test_issue_2_get_modify_commands.py test: Add comprehensive tests for Issue #2 get and modify commands 2025-09-25 03:08:18 +02:00
test_issue_4_retrieve_all_files.py test: Add comprehensive tests for Issue #4 - Retrieve All Stored Files 2025-09-27 09:13:49 +02:00
test_issue_11_complete.py feat: implement tddai Python library for TDD workspace management 2025-09-22 02:04:19 +02:00
test_issue_11_feature.py feat: implement tddai Python library for TDD workspace management 2025-09-22 02:04:19 +02:00
test_issue_11_workflow_integration.py fix: Resolve TDD infrastructure test failures and API mismatches 2025-09-23 04:46:22 +02:00
test_issue_11_workspace_creation.py fix: Resolve failing tests after CLI and error handling refactoring 2025-09-26 17:15:36 +02:00
test_issue_11_workspace_creation_validation.py fix: Resolve TDD infrastructure test failures and API mismatches 2025-09-23 04:46:22 +02:00
test_issue_13_cache_commands.py feat: Complete Issue #13 - Cache Management CLI Commands MAJOR MILESTONE 2025-09-25 23:03:03 +02:00
test_issue_13_cache_info_command.py fix: Complete Phase 1.1 - MagicMock directory pollution cleanup 2025-09-28 18:00:50 +02:00
test_issue_14_output_formatting.py feat: Complete Issue #14 - Database Query CLI Interface MAJOR MILESTONE 2025-09-25 03:30:10 +02:00
test_issue_14_query_commands.py feat: Complete Issue #14 - Database Query CLI Interface MAJOR MILESTONE 2025-09-25 03:30:10 +02:00
test_issue_15_ast_commands.py fix: Achieve 100% green test state - Quality milestone completed 2025-09-26 02:17:04 +02:00
test_issue_creator.py fix: Resolve failing tests after CLI and error handling refactoring 2025-09-26 17:15:36 +02:00
test_issue_integration.py fix: Achieve 100% green test state - Quality milestone completed 2025-09-26 02:17:04 +02:00
test_issue_writer.py feat: Implement comprehensive IssueCreator system and create CLI roadmap issues 2025-09-24 23:36:07 +02:00
test_parser.py chore: gitignore and repo cleanup 2025-09-16 03:04:18 +02:00