|
Option C Tools
|
Classes | |
| class | TestHashing |
| class | TestCacheOperations |
Functions | |
| LintCacheEntry | _make_entry (str file_hash="abc123") |
Purpose ------- FS-510 regression coverage for the incremental lint cache. Responsibilities ---------------- - Validate content_hash and rules_hash are deterministic. - Validate cache miss on first run and hit on second. - Validate invalidation on content, rule, or version change. - Validate corrupt/missing file handling. - Validate --no-cache bypasses reads. - Validate thread safety. Diagnostics ----------- Domain: LINTER-TESTS
|
protected |