aseprite/tests
2022-12-20 17:52:16 -03:00
..
cli
scripts Minor formatting in rectangle.lua tests 2022-12-20 17:52:16 -03:00
sprites
third_party
LICENSE.txt
README.md
run-tests.sh

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.