Migrate phpunit.xml
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
This commit is contained in:
parent
817405203c
commit
f2eacb67c5
|
@ -9,6 +9,7 @@ js/build
|
|||
js/*.xml
|
||||
.rvm
|
||||
*.clover
|
||||
.phpunit.result.cache
|
||||
|
||||
# python
|
||||
PKG-INFO
|
||||
|
|
46
phpunit.xml
46
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>
|
||||
|
|
Loading…
Reference in New Issue