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>
20 KiB
20 KiB