Roland Häder
f38ad168f5
------ @nupplaphil: There is no easy possibility to add a logger here, that's why there isn't any yet and instead a placeholder.. This execution point is a critical state during a testrun, and tbh I'd like to leave here no further logic (yet) because I spent hours debugging cases, where transactions weren't fully closed and strange/unpredictable errors occur (sometimes -mainly during debugging other errors :) ...) ----- |
||
---|---|---|
.. | ||
datasets | ||
functional | ||
src | ||
Util | ||
bootstrap.php | ||
DatabaseTest.php | ||
DatabaseTestTrait.php | ||
DiceHttpMockHandlerTrait.php | ||
FixtureTest.php | ||
MockedTest.php | ||
phpunit.xml | ||
README.md |
Using the Friendica tests
Install PHPUnit
Please use setup-phpunit.sh to install the necessary PHPUnit version.
It will temporarily install the phpunit
phar file into the bin/
subdirectory
Currently, Friendica uses PHPUnit 8.
Supported PHP versions of these tests
The Unit-Tests of Friendica requires at least PHP 7.2.