-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathphpunit.xml
64 lines (60 loc) · 2.41 KB
/
phpunit.xml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8" ?>
<phpunit backupGlobals="false"
defaultTestSuite="all_tests"
backupStaticAttributes="true"
colors="true"
syntaxCheck="true"
bootstrap="./tests/bootstrap_phpunit.php"
>
<testsuites>
<!-- TODO defaultTestSuite will work with phpunit 6.1 -->
<testsuite name="all_tests">
<directory>./tests/unit</directory>
<!-- /!\ keep the public API after unit tests to ease debug -->
<directory>./tests/integration</directory>
</testsuite>
<testsuite name="profiling">
<directory>./tests/profiling</directory>
</testsuite>
</testsuites>
<filter>
<!-- /!\ whitelist will exclude every outside class from coverage -->
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<!--
<directory suffix=".php">./tests</directory>
-->
</whitelist>
</filter>
<listeners>
<listener class="JClaveau\PHPUnit\Listener\StopwatchListener" />
<listener class="PHPUnit\XHProfTestListener\XHProfTestListener">
<arguments>
<array>
<element key="xhprofLibFile">
<string>./vendor/jclaveau/xhprof/xhprof_lib/utils/xhprof_lib.php</string>
</element>
<element key="xhprofRunsFile">
<string>./vendor/jclaveau/xhprof/xhprof_lib/utils/xhprof_runs.php</string>
</element>
<element key="xhprofWeb">
<string>http://xhprof.loc/index.php</string>
</element>
<element key="appNamespace">
<string>php-logical-filter</string>
</element>
<element key="xhprofFlags">
<string>XHPROF_FLAGS_CPU,XHPROF_FLAGS_MEMORY</string>
</element>
<element key="xhprofIgnore">
<string>call_user_func,call_user_func_array</string>
</element>
</array>
</arguments>
</listener>
</listeners>
<logging>
<log type="coverage-clover" target="clover.xml"/>
<log type="coverage-html" target="tests_coverage/" charset="UTF-8" yui="true" />
</logging>
</phpunit>