-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
34 lines (30 loc) · 1 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors = "true"
convertErrorsToExceptions = "false"
convertNoticesToExceptions = "false"
><!-- for the error catchers
convertWarningsToExceptions = "false" -->
<testsuites>
<testsuite name="all_tests">
<directory>./tests</directory>
</testsuite>
<testsuite name="integration">
<directory>./tests/integration</directory>
</testsuite>
<testsuite name="unit">
<directory>./tests/unit</directory>
</testsuite>
</testsuites>
<php>
<ini name="error_reporting" value="1" /> <!-- using this so the deliberate errors (trigger_error) don't crash test tun by being treated as fatal -->
<!--
<ini name="display_errors" value="1" />
<ini name="display_startup_errors" value="1" /> --><!--
<env name="DATABASE_USER" value="test" />
<env name="DATABASE_PASS" value="password" />
<env name="DATABASE_NAME" value="thing_test" />
<env name="DATABASE_HOST" value="127.0.0.1" /> -->
<env name="SUPHLE_NUKE_DB" value="true" />
</php>
</phpunit>