Files
Ransom-s-wake/tests
OlivierandClaude Opus 5.5 be16d2ee07 fix(content): lay the Vigilant hull along la Saignee within the distance budget
The target hull now lies along the groove axis (yaw derived from the
groove constants), set back 22 m from the groove end so both hull ends
rest on the flat groove floor. The mooring, spawn and first route
waypoints move to z = -210 and the decoy yacht to (-30, -150) so no
wreck is farther than 320 m from the mooring and no two wrecks are
farther than 260 m apart (spec 4.1). The spawn faces south toward the
site. Four contract assertions pin the budget, the spawn heading and
the hull orientation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:49:28 +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 ;
  • unit/run_site_domain_tests.gd : données de terrain, champ de hauteur, définition de site et ses placements/routes ;
  • unit/run_site_application_tests.gd : règle de limites jouables ;
  • unit/run_site_baker_tests.gd : primitives et déterminisme de la cuisson ;
  • contract/run_site_content_tests.gd : règles de contenu du Banc du Vigilant (profondeurs, routes, amers) ;
  • integration/run_site_terrain_integration.gd : collision égale au champ, matériaux sonar par cellule, scène de site et budget de chargement.