McRogueFace/tests/integration
John McCardle 98a9497a6c Add Phase 5.1 end-to-end scenario test for Grid entity behaviors
tests/integration/grid_entity_e2e_test.py exercises the full
Grid + GridView + EntityBehavior stack over 100 turns with four
simultaneous entities on a 20x20 walled grid:

  Player  turn_order=0  manual placement, excluded from step()
  Guard   PATROL waypoints + target_label="player" + sight_radius=5
          step() callback switches to SEEK on TARGET trigger
  NPC     NOISE8 random 8-directional wander
  Trap    SLEEP turns=10, DONE callback fires then reverts to IDLE

Player is placed near the (15,15) waypoint so the Guard both
patrols (visits >=1 waypoint) and engages SEEK once in sight.
Verifies trigger count, DONE step index, behavior_type reversion,
and no crashes / Python exceptions over the full 100-turn run.

Kanboard card 36.
2026-04-18 05:44:06 -04:00
..
3d_full_test.py Test suite modernization 2026-02-09 08:15:18 -05:00
astar_vs_dijkstra.py Remove legacy string enum comparisons from InputState/Key/MouseButton, closes #306 2026-04-09 22:19:02 -04:00
debug_visibility.py Test suite modernization 2026-02-09 08:15:18 -05:00
dijkstra_all_paths.py Remove legacy string enum comparisons from InputState/Key/MouseButton, closes #306 2026-04-09 22:19:02 -04:00
dijkstra_cycle_paths.py Remove legacy string enum comparisons from InputState/Key/MouseButton, closes #306 2026-04-09 22:19:02 -04:00
dijkstra_debug.py Remove redundant Grid.position alias, keep only Grid.pos, closes #308 2026-04-09 22:18:30 -04:00
dijkstra_interactive.py Remove redundant Grid.position alias, keep only Grid.pos, closes #308 2026-04-09 22:18:30 -04:00
dijkstra_interactive_enhanced.py Remove redundant Grid.position alias, keep only Grid.pos, closes #308 2026-04-09 22:18:30 -04:00
dijkstra_test.py Remove redundant Grid.position alias, keep only Grid.pos, closes #308 2026-04-09 22:18:30 -04:00
force_non_interactive.py Squashed commit of the following: [alpha_presentable] 2025-07-15 21:30:49 -04:00
grid_entity_e2e_test.py Add Phase 5.1 end-to-end scenario test for Grid entity behaviors 2026-04-18 05:44:06 -04:00
grid_step_test.py Phase 3: Behavior system with grid.step() turn manager 2026-03-15 22:14:02 -04:00
interactive_visibility.py Remove legacy string enum comparisons from InputState/Key/MouseButton, closes #306 2026-04-09 22:19:02 -04:00
sanitizer_stress_test.py Fix GridView.grid property and add sanitizer stress test 2026-03-16 18:19:33 -04:00
simple_interactive_visibility.py Remove redundant Grid.position alias, keep only Grid.pos, closes #308 2026-04-09 22:18:30 -04:00
simple_visibility_test.py Test suite modernization 2026-02-09 08:15:18 -05:00
trace_interactive.py Squashed commit of the following: [alpha_presentable] 2025-07-15 21:30:49 -04:00