]> git.mxchange.org Git - friendica.git/blob - doc/Tests.md
Prettified the parameter layout of workerqueue (#5397)
[friendica.git] / doc / Tests.md
1 # Themes
2
3 * [Home](help)
4
5 You can run unit tests with [PHPUnit](https://phpunit.de/):
6
7 ```bash
8 phpunit
9 ```
10
11 Some tests require access to a MySQL database.
12 You can specify the database credentials in environment variables:
13
14 ```bash
15 USER=database_user PASS=database_password DB=database_name phpunit
16 ```
17
18 **Warning**: This will empty all the tables! Never use this on a production database.