2 releases
| 0.1.1 | Jul 24, 2021 |
|---|---|
| 0.1.0 | Jul 24, 2021 |
#1232 in Games
10KB
211 lines
Test_ggez
A testing framework for GGEZ Games inpired by xray
See examples folder in game to understand usage.
- 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
expected.pngtotest_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
test_resources/<test name>/:actual.pngwith the current screenshot.diff.pngwith the difference between actual and expected.
Dependencies
~25MB
~492K SLoC