-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpunit.xml
33 lines (30 loc) · 1.1 KB
/
phpunit.xml
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
<?xml version="1.0" encoding="utf-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
failOnWarning="true"
bootstrap="tests/bootstrap.php"
>
<php>
<ini name="error_reporting" value="-1" />
<ini name="assert.exception" value="1" />
<!-- you can override these by editing them here, or creating a copy of the XML and passing it via `-c`, or
by setting the environment variables yourself (they're not overridden if they're already set). -->
<env name="testdb_host" value="127.0.0.1" />
<env name="testdb_port" value="3306"/>
<env name="testdb_user" value="root" />
<env name="testdb_password" value="root" />
<!-- Make sure the database is used exclusively for purpose of these tests, data in it could be lost! -->
<env name="testdb_dbname" value="mariastan_test" />
</php>
<testsuites>
<testsuite name="MariaStan Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
</phpunit>