Wire DangerZones_Bot integration test with shared framework #145

Closed
opened 2026-08-30 15:55:14 +02:00 by SirStone · 1 comment
Owner

Question

Create an integration test at DangerZones_Bot/tests/test_battle.nim (or similar) that:

  • Imports test_framework/test_framework
  • Runs DangerZones_Bot vs GFGunner for N rounds (e.g., 10)
  • Asserts on survival score: DangerZones_Bot survives >50% of rounds
  • Prints clear metrics: survival count, damage taken per round, total score

Follow the OscillatorBot example pattern (OscillatorBot_garage/tests/test_basic_battle.nim).

Acceptance: nim c -r tests/test_battle.nim runs a real battle and reports results.

Parent: #141
Blocked by: #143, #144

## Question Create an integration test at `DangerZones_Bot/tests/test_battle.nim` (or similar) that: - Imports `test_framework/test_framework` - Runs DangerZones_Bot vs GFGunner for N rounds (e.g., 10) - Asserts on survival score: DangerZones_Bot survives >50% of rounds - Prints clear metrics: survival count, damage taken per round, total score Follow the OscillatorBot example pattern (`OscillatorBot_garage/tests/test_basic_battle.nim`). Acceptance: `nim c -r tests/test_battle.nim` runs a real battle and reports results. **Parent: #141** **Blocked by: #143, #144**
Author
Owner

Integration test wired at DangerZones_Bot/tests/test_battle.nim. Uses shared framework, asserts >50% survival.

Integration test wired at DangerZones_Bot/tests/test_battle.nim. Uses shared framework, asserts >50% survival.
SirStone added the wayfinder:task label 2026-09-12 12:22:00 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SirStone/SirRoboGarage#145