# Destructive and failure-injection suite

**Test family:** `DST`

Apply these to the task, not mechanically to every pixel. Cross-cutting failures often emerge only through interactions with domain item files.

Keep these planned unless a controlled target, explicit authorization, test data, load envelope, and recovery path are confirmed.

- **DST-001** Delete/cascade/restore at small and representative graph depth.
- **DST-002** Interrupt storage/database/message/provider after each commit boundary.
- **DST-003** Kill/restart worker/browser/service during long task and reconcile.
- **DST-004** Exhaust quota/disk/connection pool/rate limit within agreed sandbox.
- **DST-005** Duplicate/reorder/delay/drop events and webhooks.
- **DST-006** Corrupt/truncate cache/index/derived artifact, then rebuild from source of truth.
- **DST-007** Rotate/revoke secrets, certificates, sessions, integrations, and permissions during operation.
- **DST-008** Roll back deploy/schema/model/prompt while work is queued/in flight.
- **DST-009** Restore backup into isolated environment and compare critical invariants.

## Comprehensive per-item coverage

- **DST-010** Apply the quality concern to absent, empty, ordinary, boundary-size, malformed, stale, concurrent, and failure-state data.
- **DST-011** Include text containing ASCII emoticons, emoji/ZWJ sequences, kaomoji, accents, mixed scripts, RTL, combining marks, confusables, invisible characters, and control characters.
- **DST-012** Exercise UI, API, import/export, automation, mobile, background jobs, notifications, analytics, logs, caches, and stored representations.
- **DST-013** Test anonymous, ordinary, privileged, suspended, removed, and cross-tenant actors with least privilege and final-commit authorization.
- **DST-014** Use fresh, stale, conflicting, deleted, archived, and partially migrated records; expose uncertainty rather than silently choosing.
- **DST-015** Repeat and race operations before commit, after commit before response, and after partial downstream success; require safe idempotency.
- **DST-016** Force timeout, disconnect, quota, dependency error, malformed response, regional failover, and recovery failure.
- **DST-017** Use supported browsers, devices, network qualities, locales, time zones, input methods, and assistive technologies.
- **DST-018** Measure median and tail latency, throughput, resource use, queue depth, retries, and degradation at normal and supported boundary load.
- **DST-019** Use inert injection canaries across markup, script, SQL, templates, commands, paths, headers, CSV formulas, and logs.
- **DST-020** Inspect URL, referrer, DOM, storage, clipboard, telemetry, logs, traces, notifications, exports, caches, backups, and screenshots for leakage.
- **DST-021** Verify labels, roles, names, descriptions, focus, keyboard behavior, announcements, reflow, contrast, motion, alternatives, and error recovery.
- **DST-022** Translate and lengthen text, switch RTL/LTR direction, change number/date/currency formats, and use unsupported glyph fallbacks.
- **DST-023** Delete, restore, archive, expire, retain, export, anonymize, and purge; reconcile user-visible, indexed, cached, and backed-up state.
- **DST-024** Verify one coherent audit trail with actor, authority, target, old/new state, time, source, correlation ID, attempts, and outcome.
- **DST-025** Define observable success and failure signals, alert thresholds, dashboards, ownership, runbooks, and a way to test the monitors.
- **DST-026** Compare intended requirement, implementation, deployed behavior, and evidence; do not promote inspected code or a single run into a pass.
- **DST-027** Segment results by role, tenant, locale, platform, data shape, load, and consequential workflow so averages do not hide severe failures.
- **DST-028** Run destructive, high-volume, privacy-invasive, and security probes only in an authorized isolated environment with recovery and stop conditions.
- **DST-029** State residual risk, untested combinations, evidence tier, confidence limits, rollback trigger, and owner before recommending release.

[Back to Cross-cutting quality index](../../cross-cutting.md)
