aseprite/tests
Gaspar Capello d4d18c99be [lua] Add Image:clear(Rectangle, color) overload (fix #3799)
We can use:

  Image:clear()
  Image:clear(color)
  Image:clear(rectangle)
  Image:clear(rectangle, color)

If the color is not specified it will be the transparent color of the
image.

Co-authored-by: David Capello <david@igara.com>
2023-04-12 15:30:12 -03:00
..
cli Add test for -save-as {slice} (#3801, #3802) 2023-04-12 15:11:37 -03:00
scripts [lua] Add Image:clear(Rectangle, color) overload (fix #3799) 2023-04-12 15:30:12 -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.