Table-drive DLP detector tests to cut boilerplate #289

Open
opened 2026-06-25 19:24:56 -04:00 by didericis-claude · 0 comments
Collaborator

From quality-eval audit (medium priority).

The suite is unittest-style with zero parametrization. Detector test cases (e.g. the TOKEN_PATTERNS matrix) duplicate boilerplate per case.

Task: Convert detector test cases to table-driven subTest loops so adding a new detector case is a one-line change.

No PRD required (test refactor).

From quality-eval audit (medium priority). The suite is `unittest`-style with zero parametrization. Detector test cases (e.g. the `TOKEN_PATTERNS` matrix) duplicate boilerplate per case. **Task:** Convert detector test cases to table-driven `subTest` loops so adding a new detector case is a one-line change. No PRD required (test refactor).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: didericis/bot-bottle#289