|
Option C Tools
|
Functions | |
| test_docstring_not_overwritten (Path temp_project_root, oct_lint.LinterContext linter_ctx) | |
| test_encoding_not_overwritten (Path temp_project_root, oct_lint.LinterContext linter_ctx) | |
Purpose
-------
Ensure previously fixed bugs never reappear.
Responsibilities
----------------
- Test scenarios that historically caused linter failures.
- Validate docstring preservation.
- Validate encoding preservation.
- Validate correct handling of tricky edge cases.
Diagnostics
-----------
Domain: LINTER-TESTS
Levels:
L2 — lifecycle
L3 — semantic details
L4 — deep tracing
Contracts
---------
- Must encode each regression as a permanent test.
- Must ensure fixes remain stable across refactors.
- Must not modify fixture files.
| tests_linter.test_regression.test_docstring_not_overwritten | ( | Path | temp_project_root, |
| oct_lint.LinterContext | linter_ctx ) |
Definition at line 36 of file test_regression.py.
| tests_linter.test_regression.test_encoding_not_overwritten | ( | Path | temp_project_root, |
| oct_lint.LinterContext | linter_ctx ) |
Definition at line 47 of file test_regression.py.