diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2020-10-10 10:36:21 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2021-01-07 17:24:21 +0100 |
commit | f2eacb67c55a4895f503acc3ca738ce1085d3bcb (patch) | |
tree | a6a9efcec52cd69b94203348c1962178a4f514a9 /phpunit.xml | |
parent | 817405203c4d5c6ebc7cff1b66a1e9f2239e215a (diff) |
Migrate phpunit.xml
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'phpunit.xml')
-rw-r--r-- | phpunit.xml | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/phpunit.xml b/phpunit.xml index c5c549579..9c52c7234 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,23 +1,25 @@ -<phpunit bootstrap="tests/bootstrap.php" colors="true"> - <testsuites> - <testsuite name="unit"> - <directory>./tests/Unit</directory> - </testsuite> - </testsuites> - <filter> - <whitelist processUncoveredFilesFromWhitelist="true"> - <directory suffix=".php">./lib/</directory> - <exclude> - <file>./lib/AppInfo/Application.php</file> - <file>./lib/Controller/JSONHttpErrorTrait.php</file> - <file>./lib/**Exception.php</file> - <file>./lib/Migration/**.php</file> - </exclude> - </whitelist> - </filter> - <logging> - <log type="coverage-html" target="./build/report" lowUpperBound="35" highLowerBound="70"/> - <log type="coverage-clover" target="./build/coverage.xml"/> - <log type="junit" target="./build/junit.xml"/> - </logging> +<?xml version="1.0"?> +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> + <coverage processUncoveredFiles="true"> + <include> + <directory suffix=".php">./lib/</directory> + </include> + <exclude> + <file>./lib/AppInfo/Application.php</file> + <file>./lib/Controller/JSONHttpErrorTrait.php</file> + <file>./lib/**Exception.php</file> + </exclude> + <report> + <clover outputFile="./build/coverage.xml"/> + <html outputDirectory="./build/report" lowUpperBound="35" highLowerBound="70"/> + </report> + </coverage> + <testsuites> + <testsuite name="unit"> + <directory>./tests/Unit</directory> + </testsuite> + </testsuites> + <logging> + <junit outputFile="./build/junit.xml"/> + </logging> </phpunit> |