fault-injection-testing

Inject deterministic storage and network faults to test circuit breaker and retry resilience.

5|1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/apankov1/quality-engineering --skill fault-injection-testing
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fault-injection-testing
Source: https://github.com/apankov1/quality-engineering/tree/main/skills/fault-injection-testing
Command: npx skills add https://github.com/apankov1/quality-engineering --skill fault-injection-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simulates storage and network failures for resilience testing. Provides circuit breaker state machine, retry policies with backoff, and queue preservation assertions.

Core Features & Use Cases

  • Deterministic fault injection to exercise resilience patterns across storage and network calls.
  • Circuit breaker, retry policy with exponential backoff, and queue-preservation utilities for end-to-end recovery validation.
  • Tests and utilities to ensure boundary faults do not leak data or violate invariants.

Quick Start

Run the fault-injection tests to validate circuit breaker transitions, retry backoff, and queue preservation behavior.

Frequently Asked Questions about fault-injection-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test circuit breaker state transitions in a distributed system?▼

Circuit breaker state transitions are tested by simulating deterministic fault scenarios across storage and network dependencies. This provides a state machine to verify end-to-end recovery workflows and ensure boundary faults do not violate system invariants.

What is the best way to simulate network failures for resilience testing?▼

Network failures are simulated using a controlled fault injector that creates deterministic timing and boundary-only fault scenarios. This exercises resilience patterns across external dependencies and validates recovery workflows without leaking data.

How do I implement retry policies with exponential backoff and jitter?▼

Retry policies with exponential backoff and jitter are implemented as built-in testing utilities to validate recovery from transient faults. You apply these policies during fault injection to verify external dependency calls recover under simulated failure conditions.

Can I test queue preservation and data integrity during fault injection?▼

Queue preservation and data integrity are testable during fault injection using built-in queue preservation assertions. These utilities verify that boundary faults do not leak data or violate invariants across distributed system recovery workflows.

Does fault injection testing work for external storage dependencies?▼

Fault injection testing works for external storage dependencies by applying deterministic fault scenarios to simulate failures. It supports boundary-only injections to ensure storage calls handle errors gracefully and maintain data invariants during recovery.

Why do my resilience tests fail intermittently when simulating distributed system faults?▼

Intermittent resilience test failures often stem from non-deterministic timing in fault scenarios. This tool solves that by providing deterministic timing and boundary-only injections, ensuring consistent and repeatable fault injection for reliable test results.