-
Notifications
You must be signed in to change notification settings - Fork 890
/
phpunit.xml.dist
46 lines (43 loc) · 1.41 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
<phpunit
bootstrap="tests/phpunit-bootstrap.php"
colors="true"
columns="max"
convertErrorsToExceptions="true"
convertDeprecationsToExceptions="true"
>
<!--
* This section defines configuration for running the Phinx unit tests. Some tests
* have dependencies to PHP extensions and databases which may not be installed
* on the target system. For these cases, the ability to configure or disable
* testing is provided below.
*
* Do not edit this file! Instead, copy this file to phpunit.xml, and
* edit the new file. Never commit plain text passwords to the source code
* repository.
-->
<php>
<!-- SqlServer
<env name="SQLSRV_DSN" value="sqlsrv://user:pass@localhost/test"/>
-->
<!-- MySQL
<env name="MYSQL_DSN" value="mysql://root:[email protected]/phinx"/>
-->
<!-- PostgreSQL
<env name="PGSQL_DSN" value="pgsql://postgres:[email protected]/phinx"/>
-->
<!-- SQLite
<env name="SQLITE_DSN" value="sqlite:///:memory:"/>
-->
</php>
<testsuite name="phinx">
<directory>tests/</directory>
</testsuite>
<coverage>
<include>
<directory suffix=".php">src/Phinx/</directory>
</include>
<report>
<html outputDirectory="logs/report" lowUpperBound="50" highLowerBound="80"/>
</report>
</coverage>
</phpunit>