friendica/phpunit.xml
Philipp Holzer 31148e25cf
Changing Friendica\App\Mode from static methods to public methods
- Changing from static methods to public methods
- Adding dev-composer-dependency Mockery for static method mocking (f.e. Config, DBA)
- Adding ModeTest with Mocking
- removing bootstrap from phpunit.xml because of double loading tests\bootstrap.php
2018-10-06 16:27:20 +02:00

28 lines
791 B
XML

<?xml version="1.0"?>
<phpunit
verbose="true">
<testsuites>
<testsuite>
<directory>tests/</directory>
</testsuite>
</testsuites>
<!-- 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">util/</directory>
<directory suffix=".php">view/</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="clover.xml" />
</logging>
</phpunit>