forked from box-project/box
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpunit.xml.dist
39 lines (33 loc) · 1.3 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
<?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="tests/bootstrap.php"
colors="true">
<php>
<env name="BOX_ALLOW_XDEBUG" value="1"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak_vendors" />
<!-- The width is matching the Travis one to avoid any issues with the CI -->
<env name="COLUMNS" value="80" />
</php>
<testsuites>
<testsuite name="Box Test Suite">
<directory>tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
<exclude>
<file>src/bootstrap.php</file>
<file>src/consts.php</file>
<file>src/functions.php</file>
<file>src/Console/Command/Build.php</file>
<file>src/Console/Command/ChangeableWorkingDirectory.php</file>
<file>src/PhpSettingsHandler.php</file>
<directory>src/Console/Logger</directory>
<directory>src/FileSystem</directory>
<directory>src/Test</directory>
</exclude>
</whitelist>
</filter>
</phpunit>