1
0
Fork 0
mirror of https://github.com/friendica/friendica synced 2025-01-11 06:04:43 +00:00
friendica-github/doc/Tests.md

19 lines
389 B
Markdown
Raw Normal View History

2018-04-09 19:23:41 +00:00
# Themes
* [Home](help)
You can run unit tests with [PHPUnit](https://phpunit.de/):
```bash
phpunit
```
Some tests require access to a MySQL database.
You can specify the database credentials in environment variables:
```bash
USER=database_user PASS=database_password DB=database_name phpunit
```
**Warning**: This will empty all the tables! Never use this on a production database.