-
Notifications
You must be signed in to change notification settings - Fork 7
/
phpunit.xml.dist
65 lines (65 loc) · 2.55 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnError="false"
stopOnFailure="false"
stopOnRisky="false"
stderr="true">
<testsuites>
<testsuite name="catalog-tests">
<directory suffix="_tests.php">./tests/unit/catalog/</directory>
</testsuite>
<testsuite name="admin-tests">
<directory suffix="_tests.php">./tests/unit/admin/</directory>
</testsuite>
<testsuite name="system-tests">
<directory suffix="_tests.php">./tests/unit/system/</directory>
</testsuite>
<testsuite name="language-tests">
<directory suffix="_tests.php">./tests/unit/language/</directory>
</testsuite>
</testsuites>
<php>
<!-- MULTISAFEPAY API KEY -->
<env name="API_KEY" value="" />
<!-- OPENCART VERSION -->
<env name="OC_VERSION" value="" />
<!-- ROOT PATH TO THE OPENCART APPLICATION -->
<env name="OC_ROOT" value="" />
<!-- ROOT PATH TO THE TESTS FOLDER -->
<env name="TEST_ROOT" value="" />
<!-- URL WHERE IS THE OPENCART STORE -->
<env name="HTTP_SERVER" value="" />
<!-- CONFIG FILE NAME TO INIT THE TEST ENVIROMENT TEST -->
<env name="TEST_CONFIG" value="test-config" />
<!-- SELECT A CURRENCY VALUE BY DEFAULT -->
<env name="CURRENCY_CODE" value="EUR" />
<!-- SELECT A LANGAUGE CODE BY DEFAULT -->
<env name="LANGUAGE_CODE" value="en-gb" />
<!-- ADMIN OPENCART USERNAME -->
<env name="OC_ADMIN_USERNAME" value="" />
<!-- ADMIN OPENCART PASSWORD -->
<env name="OC_ADMIN_PASSWORD" value="" />
</php>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">./src</directory>
<exclude>
<directory>./tests</directory>
<directory>./src/image</directory>
<directory>./src/admin/controller/startup</directory>
<directory>./src/system/library/session</directory>
<directory>./src/system/config</directory>
<directory>./src/system/library/multisafepay/vendor</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="./coverage.xml"/>
</logging>
</phpunit>