designing-distributed-system-tests

Category: Data & AI | Uploader: shenlishenli | Downloads: 0 | Version: v1.0(Latest)

Use when designing a test plan for a distributed or stateful system — anything with persistence, replication, consensus, retries, idempotency, async messaging, multi-tenancy, or partial failure. Plans are claim-driven; investigate the product's claimed guarantees first, then design hypotheses and scenarios that try to falsify those claims under fault. Handles both change-scoped plans (a specific commit / PR / feature) and project-wide plans (a holistic plan for the whole system with existing-test inventory and gap analysis). Also use when asked to write a stability plan, fault matrix, release-validation plan, durability test plan, partition test plan, upgrade test plan, crash-recovery test plan, linearizability test plan, deterministic-simulation plan, tenant isolation test plan, authz / boundary test plan, namespace isolation plan, multi-protocol access plan, fairness test plan, noisy-neighbor test plan, "test plan to enough coverage", "what should we be testing", or "make a holistic test plan". Trigger even if the user just says "what should we test for this change", "design the test plan for this project", "are my tenants actually isolated", or "how do I test fairness across tenants / shards / queues". Produces a structured Markdown plan file with hypothesis-driven scenarios drawn from a curated technique catalog (Jepsen+Elle, deterministic simulation, chaos/fault injection, fuzzing, formal methods, property+metamorphic, performance, crash-recovery+upgrade) and, for claims involving consistency / durability / idempotency / isolation / ordering / membership, a model+history+checker discipline (§7.M); for claims involving boundary semantics (tenant isolation, authz, namespace, routing, multi-protocol) or fairness, a surface-decomposition discipline (§7.M.S) that splits the scenario into per-surface arms with independent verdicts.

Changelog: Source: GitHub https://github.com/shenli/distributed-system-testing

Directory Structure

Current level: tree/main/skills/designing-distributed-system-tests/

  • 📁 assets/
    • 📄 plan-template.md 19.3 KB
  • 📁 references/
    • 📄 boundary-and-isolation-testing.md 8.1 KB
    • 📄 catalog-index.md 3.6 KB
    • 📄 chaos-and-fault-injection.md 2.8 KB
    • 📄 common-distributed-systems-pitfalls.md 19.7 KB
    • 📄 crash-recovery-and-upgrade.md 2.8 KB
    • 📄 deterministic-simulation.md 2.5 KB
    • 📄 formal-methods-tla.md 2.7 KB
    • 📄 fuzzing.md 2.7 KB
    • 📄 history-discipline.md 7.7 KB
    • 📄 jepsen-and-elle.md 2.4 KB
    • 📄 performance-and-benchmarking.md 2.7 KB
    • 📄 property-and-metamorphic.md 2.6 KB
  • 📄 SKILL.md 26.0 KB

SKILL.md

Login to download/like/favorite ❤ 185 | ★ 0
Comments 0

Please login before commenting.

Loading comments...