Lumen/tests/integration/README.md

13 lines
662 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# tests/integration
Full update lifecycle on fake-indexeddb with mocked transport + fault
injection, mirroring `experiments/exp2-ab-update-sim.mjs` (SPIKE-02 §3)
against the real pull → verify → stage → activate → boot state machine.
- `ab-lifecycle.test.ts` — Stage 8 acceptance: S01–S14 + X1–X3 (16 SPIKE-02
scenarios as 18 tests; no-loop and retry-once covered separately).
Invariant: either the previous valid dataset stays active or the new one
becomes active; favorites are never lost. State-machine level only —
iOS jetsam proof is device test T10 (§36).
See IMPLEMENTATION-CONTRACT.md §4 responsibilities and §6 B-1…B-7.