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