-
Notifications
You must be signed in to change notification settings - Fork 29
/
phpunit.xml.dist
49 lines (44 loc) · 1.65 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
45
46
47
48
49
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.5/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="Tests/bootstrap.php"
>
<php>
<ini name="error_reporting" value="-1" />
<env name="KERNEL_CLASS" value="Eccube\Kernel" />
<env name="APP_ENV" value="test" />
<env name="APP_DEBUG" value="1" />
<env name="SHELL_VERBOSITY" value="-1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
<env name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
<!-- define your env variables for the test env here -->
</php>
<!-- テストの場所 -->
<testsuites>
<testsuite name="Plugin Test Suite">
<directory>./Tests</directory>
</testsuite>
</testsuites>
<!-- 出力するログファイル
<logging>
<log type="coverage-clover" target="./reports/coverage.clover"/>
</logging>
-->
<!-- カバーレージのターゲット -->
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./</directory>
<exclude>
<directory suffix=".php">./Tests</directory>
<directory suffix=".php">./Resource</directory>
<file>./PluginManager.php</file>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
<listener class="\DAMA\DoctrineTestBundle\PHPUnit\PHPUnitListener" />
</listeners>
</phpunit>