Skip to content

feat: Add CD001-CTF-001 — CTF Detector Unit Tests (CD001, #27)#136

Open
steadhac wants to merge 2 commits intoGenAI-Security-Project:mainfrom
steadhac:steadhac/feat/ctf-detector-tests
Open

feat: Add CD001-CTF-001 — CTF Detector Unit Tests (CD001, #27)#136
steadhac wants to merge 2 commits intoGenAI-Security-Project:mainfrom
steadhac:steadhac/feat/ctf-detector-tests

Conversation

@steadhac
Copy link
Contributor

New test files covering definition loading, registry, primitives, and all six detector implementations. Includes bug-exposing tests for 13 confirmed production defects (#117, #119, #122#127, #128#131, #135).

Tests follow established pattern: Title, Basically question, Steps, Expected Results, Impact.

Parent: Unit tests creation for CD001 #27

@steadhac steadhac force-pushed the steadhac/feat/ctf-detector-tests branch from 9753e2f to e2297fd Compare March 18, 2026 01:49
…ity-Project#27)

New test files covering definition loading, registry, primitives,
and all six detector implementations. Includes bug-exposing tests
for 13 confirmed production defects (GenAI-Security-Project#117, GenAI-Security-Project#119, GenAI-Security-Project#122GenAI-Security-Project#127, GenAI-Security-Project#128GenAI-Security-Project#131, GenAI-Security-Project#135).

Tests follow established pattern: Title, Basically question, Steps,
Expected Results, Impact.

Parent: Unit tests creation for CD001 GenAI-Security-Project#27
… 57 tests for 6 detector implementations with 5 bug-documenting tests

  (DET-RCE-011, DET-INF-009, DET-TPX-011, DET-TPD-010, DET-IEX-009)
- 27 evaluator tests including 2 bugs (EVAL-IA-006, EVAL-VC-007)
- Route test_evaluators.py
@steadhac steadhac force-pushed the steadhac/feat/ctf-detector-tests branch from 2193f86 to f49b764 Compare March 18, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant