Option C Tools
Loading...
Searching...
No Matches
tests_git.test_branch_policy Namespace Reference

Classes

class  TestBranchNaming
class  TestAutoProfile
class  TestResolveEffectiveProfileAuto
class  TestGenerateBranchName

Detailed Description

Purpose
-------
Tests for branch naming enforcement and auto-profile selection
(Phase 4E — G-E3, G-E4, G-E10).

Responsibilities
----------------
- Validate ``validate_branch_name`` against default and custom patterns.
- Validate ``_resolve_auto_profile`` branch-to-profile mapping.
- Validate ``resolve_effective_profile`` with ``"auto"`` config value.

Diagnostics
-----------
Domain: GIT-TESTS
Levels:
    L2 — test lifecycle
    L3 — test details
    L4 — deep tracing

Contracts
---------
- All tests are pure unit tests (no git repo needed).