-
Notifications
You must be signed in to change notification settings - Fork 153
Expand file tree
/
Copy path.no-mock-allowlist
More file actions
37 lines (35 loc) · 1.54 KB
/
Copy path.no-mock-allowlist
File metadata and controls
37 lines (35 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Allowlist for no-mock policy gate (CI: .github/workflows/ci.yml).
#
# Each non-comment line is "<path>:<identifier>" — every match of
# /\b(Mock|Fake|Stub)[A-Za-z0-9_]+\b/ in <path> whose identifier equals
# <identifier> is tolerated. New occurrences in OTHER files, or NEW
# identifiers in the same file, will fail CI.
#
# This file documents audited tech debt. Removing entries here as the
# corresponding mocks are replaced with VCR fixtures or real deps is the
# preferred direction of travel. See docs/TEST_COVERAGE_MATRIX.md.
#
# Identifier-only patterns (no path) are global allowlist entries — they
# match anywhere. Used for deterministic-test infra that is reviewed and
# considered acceptable wherever it appears.
# === Global identifier allowlist (legacy inline regex, preserved) ===
# Deterministic local TCP server test infra.
*:MockHttpServer
*:MockHttpRequest
*:MockHttpResponse
# VCR cassette spec validation + conformance interceptor.
*:MockSpec
*:MockSpecInterceptor
# Comment heading in node_http_shim.rs.
*:Mocked
# String literal in repair event diagnostics (not a mock type).
*:Stubs
# === File-scoped allowlist (existing tech debt as of 2026-05-22) ===
tests/cargo_headroom_admission.rs:MockRch
tests/e2e_tui_perf.rs:MockRssReader
tests/extension_flag_passthrough.rs:MockExtensionManager
tests/full_suite_gate/certification_dossier.json:MockHostActions
tests/full_suite_gate/certification_dossier.md:MockHostActions
tests/qa_certification_dossier.rs:MockHostActions
tests/qa_docs_policy_validation.rs:MockHttp
tests/tui_state.rs:MockRssReader