-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml.dist
71 lines (71 loc) · 2.92 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
bootstrap="tests/phpunit-bootstrap.php"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src-next/</directory>
</include>
<exclude>
<file>src-next/Service.php</file>
</exclude>
<report>
<html outputDirectory="tests/log/report" lowUpperBound="50" highLowerBound="80"/>
</report>
</coverage>
<!--
* 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>
<env name="APP_DEBUG" value="true"/>
<!-- MySQL -->
<env name="TESTS_DB_MYSQL_ENABLED" value="true"/>
<env name="TESTS_DB_MYSQL_HOST" value="localhost"/>
<env name="TESTS_DB_MYSQL_USERNAME" value="homestead"/>
<env name="TESTS_DB_MYSQL_PASSWORD" value="secret"/>
<env name="TESTS_DB_MYSQL_DATABASE" value="testing"/>
<env name="TESTS_DB_MYSQL_PORT" value="3306"/>
<!-- SqlServer [ignore] -->
<env name="TESTS_DB_SQLSRV_ENABLED" value="false"/>
<env name="TESTS_DB_SQLSRV_HOST" value="localhost"/>
<env name="TESTS_DB_SQLSRV_USERNAME" value="vagrant"/>
<env name="TESTS_DB_SQLSRV_PASSWORD" value="vagrant"/>
<env name="TESTS_DB_SQLSRV_DATABASE" value="test"/>
<env name="TESTS_DB_SQLSRV_PORT" value="1433"/>
<!-- PostgreSQL [ignore] -->
<env name="TESTS_DB_POSTGRES_ENABLED" value="false"/>
<env name="TESTS_DB_POSTGRES_HOST" value="127.0.0.1"/>
<env name="TESTS_DB_POSTGRES_USERNAME" value="postgres"/>
<env name="TESTS_DB_POSTGRES_PASSWORD" value=""/>
<env name="TESTS_DB_POSTGRES_DATABASE" value="phinx_testing"/>
<env name="TESTS_DB_POSTGRES_DATABASE_SCHEMA" value="public"/>
<env name="TESTS_DB_POSTGRES_PORT" value="5432"/>
<!-- SQLite [ignore] -->
<env name="TESTS_DB_SQLITE_ENABLED" value="false"/>
<env name="TESTS_DB_SQLITE_DATABASE" value="phinx_testing"/>
<env name="TESTS_DB_SQLITE_SUFFIX" value=".sqlite3"/>
<env name="TESTS_DB_SQLITE_MEMORY" value="false"/>
</php>
<testsuite name="phinx">
<directory>tests/</directory>
</testsuite>
<logging>
<!-- <log type="testdox-html" target="tests/log/testdox.html" />-->
</logging>
</phpunit>