How does the testcase system work?
Posted: Sun Jun 05, 2022 5:22 pm
Ren'Py seems to have an internal testing system that allows for automated testing of a game, making choices as it goes: https://github.com/renpy/renpy/blob/mas ... tcases.rpy
Recognizing that this presumably isn't robust enough to show up in the documentation: How is this meant to be run?
I'd love to be able to run various scenarios against new versions of my game, maybe comparing the game history to previous "blessed" versions. My dream is to be able to create an automated test suite for every choice in my game that exports a series of transcripts that I can diff against previous results to determine if there are unexpected changes, recognizing that this might not surface graphical issues.
Recognizing that this presumably isn't robust enough to show up in the documentation: How is this meant to be run?
I'd love to be able to run various scenarios against new versions of my game, maybe comparing the game history to previous "blessed" versions. My dream is to be able to create an automated test suite for every choice in my game that exports a series of transcripts that I can diff against previous results to determine if there are unexpected changes, recognizing that this might not surface graphical issues.