-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
40 lines (40 loc) · 1.67 KB
/
Copy pathphpunit.xml
File metadata and controls
40 lines (40 loc) · 1.67 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
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory=".phpunit.cache"
executionOrder="random"
failOnWarning="true"
failOnRisky="true"
failOnEmptyTestSuite="true"
beStrictAboutOutputDuringTests="true">
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory>tests/Feature</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>src</directory>
</include>
</source>
<php>
<!-- MySQL is the package's real target; the suite runs against it by
default, over TCP (127.0.0.1:3306, Laravel's own defaults) rather
than a unix socket — socket paths vary by local install (Homebrew,
Herd, Docker, ...) while the TCP port is a near-universal default.
DB_SOCKET is set (to empty) so an env-inherited socket path never
leaks in and silently overrides host/port. These only apply when
the variable is not already set, so CI (or a one-off run)
overrides them from the environment; use `composer test:sqlite`
for the fast in-memory loop. -->
<env name="DB_CONNECTION" value="mysql"/>
<env name="DB_DATABASE" value="jamesgifford_auth_test"/>
<env name="DB_USERNAME" value="jamesgifford"/>
<env name="DB_SOCKET" value=""/>
</php>
</phpunit>