feat(test): add visual regression testing

Will upload screenshots on failure.
This commit is contained in:
Leroy Hopson 2024-04-07 00:00:00 +13:00
parent 898d49e392
commit 3ca272c615
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
10 changed files with 105 additions and 1 deletions

View file

@ -22,7 +22,7 @@ test:
{{godot}} --headless -s addons/gut/gut_cmdln.gd -gtest={{test_files}} -gexit
test-all:
{{godot}} --windowed --resolution 400x200 --position 0,0 -s addons/gut/gut_cmdln.gd -gdir=res://test -gopacity=0 -gexit
{{godot}} --windowed --resolution 400x200 --position 0,0 -s addons/gut/gut_cmdln.gd -gdir=res://test -ginclude_subdirs=true -gopacity=0 -gexit
test-rendering:
{{godot}} --windowed --resolution 400x200 --position 0,0 -s addons/gut/gut_cmdln.gd -gtest=res://test/test_rendering.gd -gopacity=0 -gexit