commit
ce75177d4e
15 changed files with 5383 additions and 21 deletions
|
@ -50,6 +50,7 @@ Friendica Documentation and Resources
|
|||
* [Translate Friendica](help/translations)
|
||||
* [Use Composer](help/Composer)
|
||||
* [Move classes to `src`](help/Developer-How-To-Move-Classes-to-src)
|
||||
* [Run tests](help/Tests)
|
||||
* Reference
|
||||
* [Twitter/GNU Social API Functions](help/api)
|
||||
* [Code (Doxygen generated - sets cookies)](doc/html/)
|
||||
|
@ -71,4 +72,3 @@ Friendica Documentation and Resources
|
|||
|
||||
* [Site/Version Info](friendica)
|
||||
* [Friendica Credits](credits)
|
||||
|
||||
|
|
18
doc/Tests.md
Normal file
18
doc/Tests.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
# 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.
|
|
@ -55,6 +55,7 @@ Friendica - Dokumentation und Ressourcen
|
|||
* [Code-Referenz (mit doxygen generiert - setzt Cookies)](doc/html/)
|
||||
* [Twitter/GNU Social API Functions](help/api) (EN)
|
||||
* [Translation of Friendica](help/translations) (EN)
|
||||
* [Run tests](help/Tests) (EN)
|
||||
|
||||
**Externe Ressourcen**
|
||||
|
||||
|
@ -71,4 +72,3 @@ Friendica - Dokumentation und Ressourcen
|
|||
|
||||
* [Seite/Friendica-Version](friendica)
|
||||
* [Mitwirkenden bei Friendica](credits)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue