aseprite/tests
David Capello 1c6e583c87 [lua] Add require() function (fix aseprite/api#10)
This is the first attempt to finally implement the require() function
on Lua. The main problem was how to solve conflicts between plugins
that use the same library name. Here we separate each plugin like in a
namespace, so require(name) inside a plugin will save the module in
_LOADED["pluginName/libraryName"] to avoid conflicts with other
libraryName from other plugins.
2023-04-18 19:41:01 -03:00
..
cli Fix save-as-with-slice CLI test as output files are listed in order 2023-04-14 14:05:51 -03:00
scripts [lua] Add require() function (fix aseprite/api#10) 2023-04-18 19:41:01 -03:00
sprites Add test for -save-as {slice} (#3801, #3802) 2023-04-12 15:11:37 -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.