-
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.46 KB
/
phpunit.xml.dist
File metadata and controls
44 lines (40 loc) · 1.46 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="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
cacheResult="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="unit">
<directory>./tests/Unit</directory>
</testsuite>
<testsuite name="integration">
<directory>./tests/Integration</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory>./src</directory>
</include>
</coverage>
<listeners>
<listener class="Marein\Nchan\Tests\TestServer\PhpUnitStartServerListener">
<arguments>
<string>Marein\Nchan\Tests\Integration\HttpAdapter\HttpStreamWrapperClientTest</string>
<string>127.0.0.1:8000</string>
<string>tests/TestServer/index.php</string>
</arguments>
</listener>
</listeners>
<php>
<env name="INTEGRATION_TEST_BASE_URL" value="http://127.0.0.1:8000/"/>
<env name="INTEGRATION_TEST_INVALID_BASE_URL" value="http://127.0.0.1:8001/"/>
</php>
</phpunit>