test: walls r1 review — tests and tools

Ref #52
This commit is contained in:
2026-11-20 08:59:24 +01:00
parent e1a5b297e4
commit 38941da003
14 changed files with 329 additions and 69 deletions
+6 -2
View File
@@ -43,9 +43,13 @@ export const GROUPS = {
['restart.test.mjs', 'restart: full state, all CRUD, before and after SIGKILL']],
},
persistence: {
files: ['persistence.test.mjs'],
// The schema-7 fixture driven through the real binary (migration mapping, explored round trip)
// plus the behaviour-preservation pair: migrated walls vs the same walls authored through
// `wall.add`, byte-identical to a player (stories 29/30/77, #52).
files: ['persistence.test.mjs', 'wallbehaviour.test.mjs'],
evidence: [['persistence.test.mjs', 'explored round trip: a fresh connection gets the whole grid'],
['persistence.test.mjs', 'migration: a schema-4 DB (fixture) migrates under the real binary']],
['persistence.test.mjs', 'migration: a schema-4 DB (fixture) migrates under the real binary'],
['wallbehaviour.test.mjs', 'behaviour preservation: a migrated schema-7 scene and the same scene authored via raw switches are byte-identical to a player']],
},
logs: {
files: ['logs.test.mjs'],