|0.1.1||Jul 24, 2021|
|0.1.0||Jul 24, 2021|
#9 in #screenshot
A testing framework for GGEZ Games inpired by
- Tests are run in the example folder because
mainthreat is necessary for context.
- First time you run a new test, a PNG will be added with the name
test_resources/<test name>/with the captured screenshot.
- If the expected screenshot is equal to the current screenshot, the test is a success.
- If the expected screenshot is NOT equal to the current screenshot, two new files will be added to
actual.pngwith the current screenshot.
diff.pngwith the difference between actual and expected.