|
Option C Tools
|
Classes | |
| class | TestGitHealth |
Variables | |
| pytestmark | |
Purpose
-------
Tests for the git health section in ``oct health`` (Phase 4E — G-E5, G-E10).
Responsibilities
----------------
- Validate ``check_git_health`` returns correct statuses.
- Verify graceful degradation when git is absent or not a repo.
Diagnostics
-----------
Domain: GIT-TESTS
Levels:
L2 — test lifecycle
L3 — test details
L4 — deep tracing
Contracts
---------
- Uses ``temp_git_project`` fixture for real git repo scenarios.
- Non-repo scenarios use bare tmp_path.
| tests_git.test_git_health.pytestmark |
Definition at line 38 of file test_git_health.py.