MovingBlocks
Replay Test: Railgun
Replay Test: Railgun
With the new Record and Replay (R&R) feature we can now record a game using the Core module and then use that recording to test the game.
One of the items in Core is a railgun which can explode things from a distance. Use R&R as well as TestReplayModule to make a test to check that the railgun explodes things properly
Definition of 'Done'
- A Pull Request to TestReplayModule's newSerialization branch with a Replay Test that executes a replay in which the player explodes something from a distance using the railgun and then asserts the destruction of some of the exploded blocks. To make the recording, use Terasology's "newSerialization" branch instead of the "develop" branch.
Where to start
- Get
TestReplayModuleon your workspace. Instructions on how to fetch a module - Read about Replay Tests on the wiki
- Check the example test code to understand how to get the
LocalPlayerfrom the game. - Get the necessary data for the test from the
LocalPlayerorCoreRegistry
See also
Task tags
Students who completed this task
MK