aseprite/tests
2023-11-30 18:40:02 -03:00
..
cli [lua] Add native API to decode/encode JSON text (fix #3233) 2023-07-17 09:25:13 -03:00
scripts [lua] Fix crashes setting values out of bounds in JSON objects (fix #4166) 2023-11-30 18:40:02 -03:00
sprites [lua] Fix crash when saving tilemap's cel image (fix #4069) 2023-11-02 14:12:55 -03:00
LICENSE.txt [lua] Add short field names (fix #3815, fix #3816) 2023-04-19 13:48:15 -03:00
README.md Fix instructions/paths for CLI tests 2022-10-25 15:57:31 -03:00
run-tests.sh Merge remote-tracking branch 'tests/main' 2022-10-25 15:30:38 -03:00

Aseprite Tests

Test suite for Aseprite to avoid breaking backward compatibility.

This directory is cloned by the build.yml action to run several automated tests after Aseprite is compiled:

How to run tests?

You have to set the ASEPRITE environment variable pointing to the Aseprite executable and then run run-tests.sh from Bash:

export ASEPRITE=$HOME/your-aseprite-build/bin/aseprite
cd tests
bash run-tests.sh

You can filter some tests with a regex giving a parameter to run-tests.sh, for example:

run-tests.sh color

Should run all tests which have the color word in their name.