Migrate phpunit.xml to new structure

This commit is contained in:
Philipp 2021-12-12 20:27:55 +01:00
parent 015de29b7b
commit 29ba044947
No known key found for this signature in database
GPG key ID: 24A7501396EB5432

View file

@ -1,20 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="bootstrap.php"
verbose="true"
backupGlobals="false"
timeoutForSmallTests="900"
timeoutForMediumTests="900"
timeoutForLargeTests="900">
<testsuite name='friendica'>
<directory suffix='.php'>functional/</directory>
<directory suffix='.php'>legacy/</directory>
<directory suffix='.php'>src/</directory>
timeoutForLargeTests="900"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<testsuite name="friendica">
<directory suffix=".php">functional/</directory>
<directory suffix=".php">legacy/</directory>
<directory suffix=".php">src/</directory>
</testsuite>
<!-- Filters for Code Coverage -->
<filter>
<whitelist>
<coverage>
<include>
<directory suffix=".php">..</directory>
</include>
<exclude>
<directory suffix=".php">../config/</directory>
<directory suffix=".php">../doc/</directory>
@ -25,6 +27,5 @@
<directory suffix=".php">../view/</directory>
<directory suffix=".php">../vendor/</directory>
</exclude>
</whitelist>
</filter>
</coverage>
</phpunit>