forked from php-censor/php-censor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
36 lines (35 loc) · 1.19 KB
/
phpunit.xml.dist
File metadata and controls
36 lines (35 loc) · 1.19 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./tests/bootstrap.php"
>
<php>
<const name="MYSQL_USER" value="root" />
<const name="MYSQL_PASSWORD" value="" />
<const name="MYSQL_DBNAME" value="test_db" />
<const name="POSTGRESQL_USER" value="postgres" />
<const name="POSTGRESQL_PASSWORD" value="" />
<const name="POSTGRESQL_DBNAME" value="test_db" />
</php>
<testsuites>
<testsuite name="PHP Common Test Suite">
<directory suffix="Test.php">./tests/src</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory suffix=".php">./src/Migrations</directory>
<directory suffix=".php">./src/Languages</directory>
</exclude>
</whitelist>
</filter>
</phpunit>