51 lines
2.1 KiB
JavaScript
51 lines
2.1 KiB
JavaScript
// The nine M3 acceptance groups of DESIGN 13 (FIXED by owner decision #12) and the test that proves
|
|
// each one. `devbox run test` runs every `tools/*.test.mjs`; this map is the checklist the finish
|
|
// line (#25) records in DESIGN 14, and tools/groups.test.mjs fails if a group's file or its named
|
|
// evidence test disappears. Slice-level test files that are not an accept group (smoke, walls,
|
|
// tokens, details, scene, wsheaders) still run; they are not listed here.
|
|
export const GROUPS = {
|
|
'leak+fault': {
|
|
files: ['leak.test.mjs', 'fault.test.mjs'],
|
|
evidence: [
|
|
['leak.test.mjs', 'leak test ${subject}: the subject\'s whole view matches the GM\'s truth'],
|
|
['fault.test.mjs', 'caught as exactly'],
|
|
],
|
|
},
|
|
tiles: {
|
|
files: ['tiles.test.mjs'],
|
|
evidence: [['tiles.test.mjs', 'tile gate: leak check (d) matches the independent explored oracle']],
|
|
},
|
|
probing: {
|
|
files: ['probing.test.mjs'],
|
|
evidence: [['probing.test.mjs', 'probing over WS: walls beyond cap + radius change no reply']],
|
|
},
|
|
protocol: {
|
|
files: ['protocol.test.mjs'],
|
|
evidence: [['protocol.test.mjs', 'an unknown type is refused, unknown fields are ignored']],
|
|
},
|
|
auth: {
|
|
files: ['auth.test.mjs'],
|
|
evidence: [['auth.test.mjs', 'key.replace: old key and old sessions die']],
|
|
},
|
|
'characters and names': {
|
|
files: ['characters.test.mjs'],
|
|
evidence: [['characters.test.mjs', 'encountered: a sighting is kept under the name the player knows']],
|
|
},
|
|
restart: {
|
|
files: ['restart.test.mjs'],
|
|
evidence: [['restart.test.mjs', 'restart: full state, all CRUD, before and after SIGTERM'],
|
|
['restart.test.mjs', 'restart: full state, all CRUD, before and after SIGKILL']],
|
|
},
|
|
persistence: {
|
|
files: ['persistence.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']],
|
|
},
|
|
logs: {
|
|
files: ['logs.test.mjs'],
|
|
evidence: [['logs.test.mjs', 'logs: no key, session cookie or session hash reaches the log']],
|
|
},
|
|
}
|
|
|
|
export const GROUP_COUNT = 9
|