1.7 KiB
1.7 KiB
HUD composition RED report
Scope
RED-only TDD change. No production scene, script, or asset was modified. Contracts were added only to:
tests/unit/test_hud_layout.gdtests/unit/test_display_layout.gdtests/e2e/test_visual_readability_e2e.gd
Measured current-state failures
Targeted GUT execution completed without SCRIPT ERROR or Parse Error.
- Journal/minimap collision: at both 1920×1080 and 1280×720,
EventLogandLogPanelintersectMinimap. - Mockup width proportions: each rail measures 320/1920 = 16.67% (below 22%);
PlayAreaFramemeasures 1180/1920 = 61.46% (above 56%). The same scaled ratios occur at 1280×720. - Opaque outside-play-area mask: all four required
PlayAreaMaskTop,PlayAreaMaskLeft,PlayAreaMaskRight, andPlayAreaMaskBottomnodes are absent. - Named visual sections:
CharacterSection,ObjectivesSection,StatusSection,JournalSection, andMapSectionare absent. - Camera viewport: the camera exposes 1920×1080 while
PlayAreaFrameis 1180×830, proving the world is still full-screen rather than constrained to the central frame.
Commands and result
/snap/bin/godot4 --headless --path . -s res://addons/gut/gut_cmdln.gd \
-gtest=res://tests/unit/test_hud_layout.gd,res://tests/unit/test_display_layout.gd -gexit
/snap/bin/godot4 --headless --path . -s res://addons/gut/gut_cmdln.gd \
-gtest=res://tests/e2e/test_visual_readability_e2e.gd -gexit
Expected RED result observed:
- unit targeted suite: 5 failing tests (16/21 passing)
- E2E targeted suite: 1 failing test (1/2 passing)
The failures are behavioral contract failures listed above, not parser failures.