Option C Tools
Loading...
Searching...
No Matches
tests_core.test_exclusions Namespace Reference

Functions

 test_fixtures_excluded_from_linter ()
 test_common_exclusions_preserved ()
 test_code_reviews_excluded ()

Detailed Description

Purpose
-------
Validate default exclusion sets in ``oct.core.exclusions``, including the
OI-420 addition of ``fixtures`` to the linter exclusion set.

Responsibilities
----------------
- Confirm ``LINTER_EXCLUDE_DIRS`` excludes the ``fixtures`` directory.
- Confirm common exclusions remain intact.

Diagnostics
-----------
Domain: CORE-TESTS
L2: test lifecycle
L3: assertion details
L4: deep tracing

Contracts
---------
Inputs:  none
Outputs: pass/fail assertions

Function Documentation

◆ test_code_reviews_excluded()

tests_core.test_exclusions.test_code_reviews_excluded ( )
The 'Code Reviews' exclusion must still be present.

Definition at line 42 of file test_exclusions.py.

◆ test_common_exclusions_preserved()

tests_core.test_exclusions.test_common_exclusions_preserved ( )
Sanity: linter exclusions are a superset of common exclusions.

Definition at line 37 of file test_exclusions.py.

◆ test_fixtures_excluded_from_linter()

tests_core.test_exclusions.test_fixtures_excluded_from_linter ( )
OI-420: fixtures directories are globally excluded from the linter.

Definition at line 32 of file test_exclusions.py.