From 8811b2ecaa93a0f9ff9238a19a9865f8cb0bdb5e Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 16 Nov 2026 23:01:22 +0000 Subject: docs: the store's tests on Automerge are built, but for the genesis changes' vectors `docs/federation-tests.md` says so, and that each attack table has a test of its own checking that every row has its test. --- docs/federation-tests.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'docs') diff --git a/docs/federation-tests.md b/docs/federation-tests.md index bfbbe7a..c4641b6 100644 --- a/docs/federation-tests.md +++ b/docs/federation-tests.md @@ -1,10 +1,11 @@ # Testing the store and the federation: a plan -A plan, built stage by stage (By stage): so far, the store's tests and the federation's -fold's (stages 1 and 2). It says how the store ([`store.md`](store.md)) and the -federation ([`federation.md`](federation.md)) are tested, so that nothing in continuum -breaks the federation, and no change made later breaks it apart. It is the contract the -code is built to: a stage is done when its tests are. +A plan, built stage by stage (By stage): so far, the store's tests, the federation's +fold's, and the store's on Automerge but for the vectors of genesis changes (stages 1 to +3). It says how the store ([`store.md`](store.md)) and the federation +([`federation.md`](federation.md)) are tested, so that nothing in continuum breaks the +federation, and no change made later breaks it apart. It is the contract the code is +built to: a stage is done when its tests are. ## What the tests rest on @@ -17,8 +18,8 @@ code is built to: a stage is done when its tests are. seed, and a seed that failed once stays as a fixed case. * **Every attack is a test.** Every row of the attack tables (`federation.md` and `store.md`, Attacks) has a test named by its table and number (`federation_attack_12`, - `store_attack_23`), of the kind its row says. A test reads both tables from the - documents and checks that every row has its test, and that no test names a row that + `store_attack_23`), of the kind its row says. A test per table reads it from its + document and checks that every row has its test, and that no test names a row that isn't there. * **Every byte is fixed.** Every encoding the nodes must agree on has vectors, byte for byte (Fixed bytes). -- cgit v1.3.1