diff options
| author | tv <tv@krebsco.de> | 2026-11-16 23:01:22 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-17 00:09:51 +0100 |
| commit | 8811b2ecaa93a0f9ff9238a19a9865f8cb0bdb5e (patch) | |
| tree | dcb80bdfac2f2403c6a798a8ed4daf3db95d36a5 /docs | |
| parent | 7469406a45ab625d9ba6ad430f01573c16f8f4de (diff) | |
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.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/federation-tests.md | 15 |
1 files changed, 8 insertions, 7 deletions
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). |
