From f2ed3e1e9e9c6199fb0bc3b1e2efb4eeb5f89b05 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 16 Nov 2026 14:38:16 +0000 Subject: docs/federation-tests: how the store and the federation are tested A plan, the contract the code is built to: the fold and the store tested as pure code, events in and verdicts and states out; a model written plainly from the design, which the store is checked against; every rule by its smallest scenarios; every attack row a test named by its table and number, and a test that every row has one; the promises as properties over generated histories, every order for small ones and seeded ones beyond, cut down before they are printed; the store on Automerge checked against the store in memory; simulations with an adversary node; fixed vectors for every encoding; fuzzing and mutants in longer runs. All of it behind the `federation` feature, by stage. --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 817ff75..179141f 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,8 @@ curl -u alice:secret localhost:3000/peers # who is out there don't trust each other. Not built. * [`docs/store.md`](docs/store.md): a design for a store of events, each judged where it was written, generic over what they read as; the federation rests on it. Not built. +* [`docs/federation-tests.md`](docs/federation-tests.md): how the store and the + federation are to be tested. Not built. * [`docs/topology.md`](docs/topology.md): who syncs with whom, and how a change passes on: the choices, which combine well, and what they cost. * [`docs/measurements.md`](docs/measurements.md): `/admin/stats` and its Prometheus metrics. -- cgit v1.3.1