Option C Tools
Loading...
Searching...
No Matches
tests_linter.test_lint_cache Namespace Reference

Classes

class  TestHashing
class  TestCacheOperations

Functions

LintCacheEntry _make_entry (str file_hash="abc123")

Detailed Description

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

Function Documentation

◆ _make_entry()

LintCacheEntry tests_linter.test_lint_cache._make_entry ( str file_hash = "abc123")
protected

Definition at line 71 of file test_lint_cache.py.

Here is the caller graph for this function: