friendica-github/doc/Tests.md
2018-05-10 19:12:00 +02:00

389 B

Themes

You can run unit tests with PHPUnit:

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.