Files
sysPass/tests/phpunit.xml
Rubén D 58249da565 * [MOD] Use static types.
* [MOD] CORS headers.
* [MOD] Improve Forwarded header lookup.
* [ADD] Create interface for configuration data.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-10-12 20:49:18 +02:00

39 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="./SP/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="core">
<directory suffix=".php">./SP</directory>
<exclude>./SP/Modules</exclude>
</testsuite>
<testsuite name="api">
<directory suffix=".php">./SP/Modules/Api</directory>
</testsuite>
<testsuite name="cli">
<directory suffix=".php">./SP/Modules/Cli</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../lib/SP</directory>
<exclude>
<directory suffix=".php">../lib/SP/DataModel</directory>
<directory suffix=".php">../lib/SP/Providers</directory>
<directory suffix=".php">../lib/SP/Html/Assets</directory>
<directory suffix=".php">../lib/SP/Html/DataGrid</directory>
<file>../lib/SP/Config/ConfigData.php</file>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="./_output/coverage-clover.xml"/>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true" showOnlySummary="true" />
</logging>
</phpunit>