-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathphpunit.xml.dist
41 lines (41 loc) · 1.72 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
<testsuites>
<testsuite name="catalog-tests">
<directory suffix="CatalogTest.php">./tests/catalog/</directory>
</testsuite>
<testsuite name="admin-tests">
<directory suffix="AdminTest.php">./tests/admin/</directory>
</testsuite>
<testsuite name="system-tests">
<directory suffix="Test.php">./tests/system/</directory>
</testsuite>
</testsuites>
<php>
<env name="OC_ROOT" value="./www/" />
<env name="HTTP_SERVER" value="http://localhost:80/" />
<env name="TEST_CONFIG" value="test-config" />
</php>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix="retailcrm.php">./www/admin/controller</directory>
<directory>./www/admin/model/extension/retailcrm</directory>
<directory suffix="retailcrm.php">./www/catalog/controller</directory>
<directory suffix="daemon_collector.php">./www/catalog/controller</directory>
<directory>./www/catalog/model/extension/retailcrm</directory>
<directory suffix=".php">./www/system/library/retailcrm</directory>
<exclude>
<directory suffix=".php">./www/system/library/retailcrm/lib/api</directory>
</exclude>
</whitelist>
</filter>
</phpunit>