forked from vanilla/vanilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
51 lines (45 loc) · 1.74 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="tests/phpunit.php"
>
<php>
<ini name="intl.default_locale" value="en"/>
<ini name="intl.error_level" value="0"/>
<ini name="memory_limit" value="-1"/>
<ini name="date.timezone" value="America/Montreal"/>
<env name="TEST_BASEURL" value="http://vanilla.test:8080" />
<env name="TEST_DB_NAME" value="vanilla_test"/>
<env name="TEST_DB_USER" value="travis" />
<env name="TEST_DB_PASSWORD" value="" />
</php>
<testsuites>
<testsuite name="Library">
<directory suffix="Test.php">./tests/Library/</directory>
</testsuite>
<testsuite name="Models">
<directory suffix="Test.php">./tests/Models</directory>
</testsuite>
<testsuite name="APIv0">
<directory suffix="Test.php">./tests/APIv0</directory>
</testsuite>
<testsuite name="APIv2">
<directory suffix="Test.php">./tests/APIv2</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="false">
<directory suffix=".php">applications/conversations</directory>
<directory suffix=".php">applications/dashboard</directory>
<directory suffix=".php">applications/vanilla</directory>
<directory suffix=".php">library</directory>
</whitelist>
</filter>
</phpunit>