Fault Injection Testing
Simulates network, storage, and external service failures to rigorously test circuit breakers, retry policies, and system resilience.
Fault Injection Testing equips Claude with domain-specific patterns and utilities to test failure paths across system boundaries. It provides structured guidance and reusable TypeScript utilities for verifying circuit breaker state machine transitions, validating exponential backoff calculations with jitter, and ensuring zero message loss through queue preservation assertions. By focusing on boundary-level fault simulation rather than happy-path tests, this skill helps engineering teams build resilient distributed systems that recover reliably from transient outages, rate limits, and network partitions.
主な機能
01Full state machine verification for circuit breakers across closed, open, and half-open states
02Boundary-level fault injection wrapper simulating timeouts, connection resets, and database errors
03Deterministic time and random number generator injection for reproducible, flake-free tests
04Mathematical validation of exponential backoff delay formulas, caps, and randomized jitter bounds
05Queue and buffer preservation assertions ensuring no data loss during transient failures
062 GitHub stars
ユースケース
01Testing distributed service boundaries against timeouts, rate limits, and connection resets
02Verifying message queue consumers preserve in-flight items during sudden infrastructure failure
03Validating client-side retry policies and exponential backoff behavior under network load