gestion_table_tournante_libre/test
Mathieu Benoit fdaa79ed32 [ADD] storage: file-system interface, failing test double, contract
Storage code receives its file system as a parameter (§ 13.4): one
interface, and here the implementation tests inject. It keeps files in
memory, shares a disk between two instances to replay a restart, and
fails on demand: a refused rename that leaves the target intact, writes
refused from a moment on, a process killed after n writes, a failing
probe, a removable medium. One contract suite, its assertions passed in,
will run unchanged on the Electron and web implementations.

Checked: 87 tests, the contract suite run on the test double.

--- FR ---

[ADD] stockage : interface du système de fichiers, double, contrat

Le code du stockage reçoit son système de fichiers en paramètre
(§ 13.4) : une interface, et ici l'implémentation que les épreuves
injectent. Elle garde les fichiers en mémoire, partage un disque entre
deux instances pour rejouer un redémarrage, et tombe en panne à la
demande : renommage refusé qui laisse la cible intacte, écritures
refusées à partir d'un instant, processus tué après n écritures, sonde
qui échoue, support amovible. Une suite de contrat, ses assertions
reçues en paramètre, servira telle quelle sous Electron et sous web.

Vérifié : 87 épreuves, la suite de contrat jouée sur le double.

Assisted-by: Claude Opus 5.5
Claude-Session: https://claude.ai/code/session_01EUXSGcwCLSC69FWEdCtWSb
2026-10-06 13:12:25 -04:00
..
arborescence.test.js [FIX] tests: four-core budget, quoted values, key guard, switch floor 2026-10-06 04:26:08 -04:00
chargements.js [ADD] tests: budget reporter, one import parser, key-order guard 2026-10-06 04:23:13 -04:00
chargements.test.js [ADD] tests: budget reporter, one import parser, key-order guard 2026-10-06 04:23:13 -04:00
chromium.js [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
chromium.test.js [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
construction.long.test.js [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
contrat_fichiers.js [ADD] storage: file-system interface, failing test double, contract 2026-10-06 13:12:25 -04:00
coquille.test.js [FIX] electron: remove Electron's default English application menu 2026-10-05 13:47:16 -04:00
electron_factice.js [FIX] electron: remove Electron's default English application menu 2026-10-05 13:47:16 -04:00
fichiers_simules.js [ADD] storage: file-system interface, failing test double, contract 2026-10-06 13:12:25 -04:00
fichiers_simules.test.js [ADD] storage: file-system interface, failing test double, contract 2026-10-06 13:12:25 -04:00
fils.test.js [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
installation.test.js [ADD] run: make and ./run.sh, Electron start check, container matrix 2026-10-06 05:52:17 -04:00
lanceur.js [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
licence.test.js [ADD] scripts: Windows install and run through PowerShell 5.1 2026-10-06 05:51:31 -04:00
livrable.test.js [ADD] tests: budget reporter, one import parser, key-order guard 2026-10-06 04:23:13 -04:00
machine.js [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
machine.test.js [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
projets.test.js [ADD] skeleton: Capacitor web app that shows its dated version 2026-10-05 13:13:13 -04:00
rapporteur.js [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
rapporteur.test.js [IMP] tests: watched series adapts to the core count, threads below 4 2026-10-06 04:54:01 -04:00
version_voisine.js [ADD] electron: own shell, portable Windows exe built under podman 2026-10-05 13:13:32 -04:00