Shadow Warden AI — Gateway v7.0 — Explore the API Reference
Home / Doc / Testing & Quality

Testing & Quality

TQ-01

SWFE Fake Context

✅ Shipped

Unified fake activation via mock.patch. X-Simulation-ID isolation. FakeAnthropicClient, FakeS3Storage.

All v3.0
TQ-02

Scenario DSL

✅ Shipped

ScenarioRunner + ScenarioStep with smart_retry. YAML loader. XAI causal-chain hint on failure.

All v4.11
TQ-03

Mutation Testing

✅ Shipped

mutmut on secret_redactor.py + semantic_guard.py. Threshold: 20 surviving mutants. Linux/WSL/CI only.

All v2.0
TQ-04

k6 Load Tests

✅ Shipped

Realistic traffic simulation. 1000+ RPS sustained. Latency SLO validation. CI-integrated.

All v3.5
TQ-05

Coverage Gate ≥75%

✅ Shipped

pytest --cov-fail-under=75. Matrix: Python 3.11 + 3.12. Adversarial tests informational (||true).

All v1.0