#Testing
Since the game is in early access we need a somewhat robust way to figure out what parts of BaseMod break each time the game is updated. Currently that way is TestMod.
TestMod is a mod bundled with BaseMod that uses all the functionality of BaseMod such that it can be run against any new version of BaseMod to ensure there are no crashes and that BaseMod's features behave as intended.
##Testing
- Run the game with only
BaseMod
andTestMod
installed. - Play through part or most of
Act 1
and quit the game. - If the game crashes you know that there has been an issue.
- If the game does not crash it is likely that there is not an issue.
- Take a look at
SlayTheSpire.log
andtestmod.log
after the game quits (either crash or intentional) to confirm that there weren't any issues.
##Things to Watch for While Playing the Game
- There should be a custom class in the game.
- Testing playing as the custom class and as a default class is required to make sure all parts of BaseMod are currently functional.
- This will test out the custom class, cards, relics, and localization strings.
##Currently Tested Hooks
receivePostCreateStartingDeck
receivePostCreateStartingRelics
receiveStartGame
receivePostInitialize
receiveEditStrings
receiveEditRelics
receiveEditCharacters
receiveEditCards