aseprite/tests
2023-03-27 20:31:58 -03:00
..
cli Fix bug saving tags in file sequences using -save-as "{tag}_1.png" 2023-03-22 14:35:52 -03:00
scripts [lua] Add blend modes to Image:drawImage() 2023-03-27 20:31:58 -03:00
sprites Add custom properties serialization/deserialization lua tests 2023-01-06 19:28:02 -03:00
third_party Merge remote-tracking branch 'tests/main' 2022-10-25 15:30:38 -03:00
LICENSE.txt Merge remote-tracking branch 'tests/main' 2022-10-25 15:30:38 -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.