-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml.dist
39 lines (39 loc) · 1.58 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
verbose="true">
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<listeners>
<listener class="VCR\PHPUnit\TestListener\VCRTestListener"
file="vendor/php-vcr/phpunit-testlistener-vcr/src/VCRTestListener.php"/>
</listeners>
<php>
<ini name="display_errors" value="On"/>
<ini name="display_startup_errors" value="On"/>
<!--
PHPUnit recommended PHP config
https://phpunit.readthedocs.io/en/9.5/installation.html#recommended-php-configuration
-->
<ini name="memory_limit" value="-1"/>
<ini name="error_reporting" value="-1"/>
<ini name="log_errors_max_len" value="0"/>
<ini name="zend.assertions" value="1"/>
<ini name="assert.exception" value="1"/>
<ini name="xdebug.show_exception_trace" value="0"/>
<!-- You must set these to valid values if you want to run the tests against the live testing API -->
<env name="DPD_USERNAME" value="username"/>
<env name="DPD_PASSWORD" value="password"/>
<env name="DPD_COUNTRY_CODE" value="SI"/>
</php>
</phpunit>