Install and activate the plugin following typical processes
After installation, regenerate the thumbnails for all images
wp media regenerate --yes
Install MariaDB and SVN if you don't already have it
brew install mariadb svn
Make sure you're running PHP with mysql, gd, gd-jpeg, and gd-webp support. If you're using phpbrew, a command like below will install the right package of PHP.
phpbrew install 8.2.20 +default +fpm +pdo +mysql +gd +intl +openssl -- --with-jpeg --with-webp
Install PHP Unit
composer install
Initialize test environment
composer test-init
Run the tests
composer run test