Sebaestschjin / gloomhaven-campaign-manager

Simplify the management of your Gloomhaven campaign progress in Tabletop Simulator.
MIT License
7 stars 5 forks source link

Automate testing #48

Closed Sebaestschjin closed 4 years ago

Sebaestschjin commented 4 years ago

It would be cool, if the loading tests could be done automatically. The easiest use case would be to load a save file, save after everything is done and check whether the created save is the same as the one that was loaded. Maybe tools like Autohotkey can help with that.

Sebaestschjin commented 4 years ago

Uses pyautogui to automically load the Gloomhaven mod, loading a savefile, saving it again and comparing wether the savefile has the expected format. Currently only supports loading the latest version of the mod, but will also enhance to load from an existing save file, to easily test backwards compatibility.