You can run unit tests with PHPUnit:


Some tests require access to a MySQL database. You can specify the database credentials in environment variables:

USER=database_user PASS=database_password DB=database_name phpunit

Warning: This will empty all the tables! Never use this on a production database.

This website uses cookies to offer a satisfactory user experience and full functionality. By using this site, you agree to have our cookies placed on your device.