Added 14 new tests validating the complete Issue #2 implementation: Test coverage: - TestGetCommand: 4 tests for markitect get functionality - TestModifyCommand: 4 tests for markitect modify with --add-section and --update-front-matter - TestASTSerializer: 5 tests for AST serialization and modification - TestRoundtripValidation: 1 integration test for complete workflow All tests passing (14/14) with comprehensive mocking and validation: - CLI command existence and help text - File retrieval with output options - Content modification and section addition - Front matter updates and validation - AST serialization with and without front matter - Error handling for missing files and invalid inputs - Complete roundtrip validation workflow This completes the test coverage for Issue #2 requirements, ensuring all document manipulation functionality is properly validated. Total test status: 86 passed (including 25 Issue #2 tests), 4 failed (unrelated TDDAI) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test_example.py | ||
| test_issue_1_database_initialization.py | ||
| test_issue_2_file_ingestion.py | ||
| test_issue_2_get_modify_commands.py | ||
| test_issue_11_complete.py | ||
| test_issue_11_feature.py | ||
| test_issue_11_workflow_integration.py | ||
| test_issue_11_workspace_creation.py | ||
| test_issue_11_workspace_creation_validation.py | ||
| test_issue_creator.py | ||
| test_issue_integration.py | ||
| test_issue_writer.py | ||
| test_parser.py | ||