mirror of
https://github.com/LerianStudio/ring
synced 2026-04-21 13:37:27 +00:00
Add 64 unit tests covering the artifact-index Python modules: - TestParseFrontmatter: YAML extraction, malformed input, edge cases - TestParseSections: markdown section extraction by header level - TestParseHandoff: file parsing, session/task extraction, outcome mapping - TestExtractFilesFromContent: path extraction with line numbers - TestEscapeFts5Query: FTS5 query escaping and quoting - TestValidateLimit: argparse limit validation (1-100 bounds) - TestGetProjectRoot: .ring/.git directory discovery - TestGetHandoffIdFromFile: deterministic ID generation These tests address the code review finding that the artifact-index infrastructure had zero test coverage despite being foundational.
1 line
35 B
Python
1 line
35 B
Python
# Tests for artifact-index modules
|