Files
Ransom-s-wake/tests
OlivierandClaude Fable 5.1 f0072a3e11
Quality Gate / Quality Gate (pull_request) Successful in 6m55s
Add sunlit shallows site with localized sun shafts
New visual test site under game/world/sites: flat sandy floor at
-40 m, calm surface at 0 m, fixed daytime sun ahead of and above
the submarine. Light shafts come from a shadow-only surface
occluder whose alpha-scissor ripples open only inside a pool a few
tens of metres ahead; a subtractive FogVolume cancels the global
volumetric fog above the water, and an unshaded ceiling mesh shows
the lit underside of the surface inside that pool. A composed
world (sunlit_shallows_world.tscn) mounts the submarine, cockpit
and camera rig in it, with the projectors kept out of the fog.

Cockpit: the porthole glass moves to its own render layer with a
rougher material and the porthole fill light excludes that layer,
so interior lamps no longer mirror as hard specular points.

Quality gate: new integration suite for the site (42 checks), three
glass assertions in the foundation suite, and the Input-access
architecture rule now matches both path separators so the gate runs
on Windows. project.godot raises the volumetric fog froxel grid to
128 so the shafts stay readable.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-06 23:18:56 +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.