-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
50 lines (45 loc) · 1.48 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
<phpunit
bootstrap="vendor/silverstripe/framework/tests/bootstrap.php"
colors="true"
backupGlobals="false"
backupStaticAttributes="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
syntaxCheck="false"
verbose="true"
strict="false">
<testsuite name="nswdpc/silverstripe-trumbowyg">
<directory>tests/</directory>
</testsuite>
<groups>
<exclude>
<group>sanitychecks</group>
</exclude>
</groups>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">tests/</directory>
</exclude>
</whitelist>
</filter>
<php>
<!-- use envvarset in your YML files -->
<env name="SS_TEST" value="1"/>
<var name="runningtests" value="true"/>
<!-- sqlite3 for testing module -->
<env name="SS_DATABASE_CLASS" value="SQLite3Database"/>
<env name="SS_DATABASE_NAME" value="SS_trumbowyg_testdb"/>
<env name="SS_DATABASE_SERVER" value="none"/>
<env name="SS_DATABASE_USERNAME" value="none"/>
<env name="SS_DATABASE_PASSWORD" value="none"/>
<env name="SS_SQLITE_DATABASE_PATH" value=":memory:"/>
</php>
</phpunit>