This extension ships with PHPUnit tests. The generic PHPUnit configuration in Magento 2 will pick up on these tests. To only test Yireo extensions, you can also run the following:
./vendor/bin/phpunit ./vendor/yireo/magento2-emailtester2/Test/Unit/
See the Magento document for the full procedure.