-
-
Notifications
You must be signed in to change notification settings - Fork 466
/
phpunit.xml.dist
44 lines (40 loc) · 1.51 KB
/
phpunit.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
verbose="true"
>
<coverage pathCoverage="true">
<include>
<directory suffix=".php">src</directory>
</include>
<report>
<clover outputFile="tests/output/clover.xml"/>
<!-- Uncomment to generate HTML coverage report-->
<!-- <html outputDirectory="tests/output/html-coverage" lowUpperBound="50" highLowerBound="90"/>-->
</report>
</coverage>
<testsuites>
<testsuite name="Extension">
<directory suffix=".php">tests/Extension</directory>
</testsuite>
<testsuite name="Zephir">
<directory suffix=".php">tests/Zephir</directory>
</testsuite>
</testsuites>
<php>
<ini name="default_charset" value="UTF-8"/>
<ini name="date.timezone" value="UTC"/>
<ini name="display_errors" value="on"/>
<ini name="display_startup_errors" value="on"/>
<ini name="error_reporting" value="-1"/>
<ini name="memory_limit" value="4G"/>
<const name="FIXTURES_PATH" value="./tests/fixtures"/>
<const name="ZEPHIRPATH" value="./"/>
</php>
<logging>
<junit outputFile="tests/output/junit.xml"/>
<!-- log type="coverage-html" target="./tests/output/html"/-->
</logging>
</phpunit>