-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
44 lines (40 loc) · 1.53 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
44 lines (40 loc) · 1.53 KB
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="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
verbose="true"
failOnWarning="false"
failOnRisky="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true">
<testsuites>
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="integration">
<directory>tests/Integration</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>src/Commands</directory>
<file>src/index.php</file>
</exclude>
</coverage>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="-1"/>
<ini name="memory_limit" value="-1"/>
<!-- PrestaShop constants - Override these in phpunit.xml for local configuration -->
<const name="_PS_VERSION_" value="8.1.0"/>
<const name="_PS_ROOT_DIR_" value="/path/to/prestashop"/>
<const name="_PS_MODULE_DIR_" value="/path/to/prestashop/modules/"/>
<const name="_DB_PREFIX_" value="ps_"/>
<const name="_MYSQL_ENGINE_" value="InnoDB"/>
<const name="_PS_MODE_DEV_" value="true"/>
</php>
</phpunit>