forked from pyrocms/pyrocms
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
executable file
·47 lines (42 loc) · 1.54 KB
/
phpunit.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="bootstrap/autoload.php"
convertWarningsToExceptions="true"
convertNoticesToExceptions="true"
convertErrorsToExceptions="true"
backupStaticAttributes="false"
processIsolation="false"
backupGlobals="false"
stopOnFailure="true"
colors="true">
<testsuites>
<testsuite name="Streams">
<directory suffix="Test.php">./vendor/anomaly/streams-platform/</directory>
</testsuite>
<testsuite name="Application">
<directory suffix="Test.php">./addons/*/*/*/tests</directory>
</testsuite>
<testsuite name="Core">
<directory suffix="Test.php">./core/*/*/tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./vendor/anomaly/streams-platform/src/</directory>
<exclude>
<directory suffix=".php">./app/</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="./coverage"/>
</logging>
<php>
<server name="HTTP_HOST" value="http://localhost"/>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="APP_THEME" value="pyrocms.theme.starter"/>
<env name="ADMIN_THEME" value="pyrocms.theme.accelerant"/>
</php>
</phpunit>