d5dd12b8f8
- Add drone test environment - Add drone config - apt phpunit - Fix api.php - Fix item.php - Fix DBStructure - Check if caching is possible during tests
30 lines
919 B
XML
30 lines
919 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<phpunit
|
|
bootstrap="bootstrap.php"
|
|
verbose="true">
|
|
<testsuite name='friendica'>
|
|
<directory suffix='.php'>functional/</directory>
|
|
<directory suffix='.php'>include/</directory>
|
|
<directory suffix='.php'>src/</directory>
|
|
<directory suffix='.php'>./</directory>
|
|
</testsuite>
|
|
<!-- Filters for Code Coverage -->
|
|
<filter>
|
|
<whitelist>
|
|
<directory suffix=".php">..</directory>
|
|
<exclude>
|
|
<directory suffix=".php">config/</directory>
|
|
<directory suffix=".php">doc/</directory>
|
|
<directory suffix=".php">images/</directory>
|
|
<directory suffix=".php">library/</directory>
|
|
<directory suffix=".php">spec/</directory>
|
|
<directory suffix=".php">tests/</directory>
|
|
<directory suffix=".php">view/</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
<listeners>
|
|
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
|
|
</listeners>
|
|
</phpunit>
|