Ticket #417 (new task)

Opened 3 years ago

Last modified 3 years ago

Component integration testing framework

Reported by: Philip Owned by: Philip
Priority: Should Have Milestone: Backlog
Component: UI & Simulation Keywords:
Cc:

Description

#415 and #416 are about testing components in isolation, but there should be some automated way to test that the whole gameplay system works together and the components interact properly.

Maybe it would be done by loading a map, sending a pre-defined sequence of player commands, simulating a certain amount of time, and then checking that the outcome is as expected (some units are in certain areas, some are dead, etc, with enough flexibility to allow for tweaks to pathfinding algorithms and unit stats etc without breaking the test results). In case of test failures, it should be possible to watch the simulation and see where it's going wrong.

This wouldn't aim to exhaustively test every aspect of gameplay, since that would require a huge amount of work - it would just test basic functionality, and particular bugs or regressions that we don't want to miss.

Change History

comment:1 Changed 3 years ago by anonymous

  • Milestone Unclassified deleted

Milestone Unclassified deleted

comment:2 Changed 3 years ago by wacko

  • Milestone set to Backlog
Note: See TracTickets for help on using tickets.