Files
Ransom-s-wake/tests
OlivierandClaude Opus 5.5 2c1ea50aba
Quality Gate / Quality Gate (pull_request) Successful in 7m6s
feat(cockpit): replace procedural cockpit with twelve scripted models
Instance twelve Blender-scripted glTF models in the cockpit scene and
rebuild the cabin around them: gauge panel, sonar, switch panel, alert
box, speaker, porthole, hull wall, caged lamps, gas bottle, handrails
and side consoles. Presentation only; no domain, application or world
rule changes beyond enabling glow in the test environment.

- Needles, alert lamps and sonar screen are driven by the existing
  snapshots; the alert box now carries SYS/ATTN/ALRM.
- Depth dial reads percent of certified depth.
- Sonar display restyled as a turquoise holographic relief with a
  shader grid and height scale; SubViewport matches the glass (960x604).
- Cabin lighting retuned: warm pooled lamp light, cool porthole rim,
  lamp shadows, dial backlight.
- Procedural stand-ins removed (bulkhead, tanks, consoles, levers,
  indicator columns, placeholder pipe run, dial face PNGs).
- Tests adapted where nodes disappeared; one assertion removed
  (pipe_segment_count) until the pipe kit is placed.
- Model .glb files are committed without LFS; textures Godot extracts
  next to them at import are ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 21:46:46 +02:00
..

Test organization

  • unit/ : domaine pur, sans scène ni I/O.
  • integration/ : assemblage Godot minimal et signaux.
  • contract/ : ressources, contenu, sauvegardes et migrations.
  • fixtures/ : données de référence versionnées et anonymes.

Les runners historiques à la racine de tests/ couvrent les POC. Les suites de production devront être ajoutées à scripts/quality_gate.sh; créer un fichier de test qui n'est jamais exécuté n'est pas une validation.

Suites de production actuelles :

  • unit/run_dive_foundation_tests.gd : règles résolues, ticks, ressources, pression, collisions, alertes et états terminaux ;
  • unit/run_vehicle_application_tests.gd : validation et séquençage des commandes de pilotage et de caméra ;
  • unit/run_sonar_application_tests.gd : buffer compact scellé, validation des captures, contacts séparés et temporalité de révélation/récupération ;
  • integration/run_vertical_slice_foundation.gd : composition, mouvement inertiel, caméra indépendante, cockpit 3D fixe, instruments physiques, couche d'alerte, sonar bathymétrique partagé, pause des ticks et remappage avec conflit.