Skip to content

Commit

Permalink
Update phpunit.xml.dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Feb 2, 2021
1 parent acf5489 commit 5d0f025
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,30 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/5.7/phpunit.xsd"
backupGlobals="false"
bootstrap="./Library/autoload.php"
colors="true"
verbose="true"
>
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false"
bootstrap="./Library/autoload.php" colors="true" verbose="true">
<coverage>
<include>
<directory suffix=".php">./Library</directory>
</include>
<report>
<clover outputFile="./tests/output/clover.xml"/>
</report>
</coverage>

<testsuites>
<testsuite name="Extension">
<directory suffix=".php">./tests/Extension</directory>
</testsuite>

<testsuite name="Zephir">
<directory suffix=".php">./tests/Zephir</directory>
<exclude>tests/Zephir/KernelTestCase.php</exclude>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory suffix=".php">./Library</directory>
</whitelist>
</filter>

<php>
<ini name="default_charset" value="UTF-8"/>
<ini name="date.timezone" value="UTC"/>
Expand All @@ -36,12 +32,10 @@
<const name="DATA_PATH" value="./tests/Data"/>
<const name="FIXTURES_PATH" value="./tests/fixtures"/>
<const name="ZEPHIRPATH" value="./"/>

<server name="KERNEL_CLASS" value="Zephir\DependencyInjection\ZephirKernel" />
<server name="KERNEL_CLASS" value="Zephir\DependencyInjection\ZephirKernel"/>
</php>

<logging>
<log type="coverage-clover" target="./tests/output/clover.xml"/>
<!-- log type="coverage-html" target="./tests/output/html"/-->
</logging>
</phpunit>

0 comments on commit 5d0f025

Please sign in to comment.