-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
40 lines (35 loc) · 1.36 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
40 lines (35 loc) · 1.36 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
<?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"
executionOrder="depends,defects"
failOnWarning="true"
failOnNotice="true"
failOnDeprecation="true"
failOnRisky="true"
beStrictAboutOutputDuringTests="true">
<extensions>
<bootstrap class="Itools\ZenDB\Tests\Support\Replay\ReplayExtension"/>
<bootstrap class="Itools\ZenDB\Tests\Support\ExitGuard"/>
</extensions>
<testsuites>
<testsuite name="ZenDB Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
<php>
<env name="DB_HOSTNAME" value="127.0.0.1"/>
<env name="DB_USERNAME" value="root"/>
<env name="DB_PASSWORD" value=""/>
<env name="DB_DATABASE" value="phpunit_test_db"/>
</php>
<!-- Optional, for benchmarking ZenDB's PHP work with MySQL round trips out of the numbers:
"composer test:record" runs live and saves every query result to tests/Support/Replay/corpus.php;
"composer test:replay" serves it back with no server. See tests/Support/Replay/ReplayHarness.php. -->
</phpunit>