-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpunit.xml
39 lines (39 loc) · 1.5 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
<phpunit bootstrap="./tests/Unit/bootstrap.php"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnError="false"
stopOnFailure="false"
stopOnRisky="false"
cacheResult="false">
<php>
<env name="KERNEL_CLASS" value="AppKernel"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
<ini name="memory_limit" value="-1"/>
</php>
<testsuites>
<testsuite name="prestashop-unit-tests">
<directory suffix="Test.php">./tests/Unit/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false" addUncoveredFilesFromWhitelist="false">
<directory suffix=".php">.</directory>
<exclude>
<directory>./.docker</directory>
<directory>./.github</directory>
<directory>./bin</directory>
<directory>./controllers</directory>
<directory>./tests</directory>
<directory>./translations</directory>
<directory>./upgrade</directory>
<directory>./vendor</directory>
<directory>./views</directory>
<file>./multisafepayofficial.php</file>
<file>./index.php</file>
<file>./*/index.php</file>
<file>./*/*/index.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>