complete-dependency-injection-enables-hermetic-testing

Status: IN

The combination of time injection (notification, rate limiter, crawler) and service injection (payment processor) covers both sources of test non-determinism — temporal behavior and external service responses — unless the inconsistent current_time fallback means some code paths silently revert to wall-clock time when injection is omitted.

Justifications

time and service injection together eliminate the two main non-determinism sources; the fallback inconsistency threatens completeness

Depends on (SL): time-injection-enables-deterministic-testing, payment-processor-injectable

Unless: current-time-fallback-inconsistent

JSON