-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
59 lines (51 loc) · 1.81 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
52
53
54
55
56
57
58
59
<?xml version='1.0' encoding='utf-8' ?>
<!--
For more info on directives, see:
https://phpunit.de/manual/current/en/phpunit-book.html#appendixes.configuration
Note: the backupGlobals and backupStaticAttributes were set to false because PHPUnit uses serialization for backing-up,
and Laravel was throwing this error if those two settings were set to true: "Serialization of 'Closure' is not allowed"
-->
<phpunit
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='https://schema.phpunit.de/7.1/phpunit.xsd'
extensionsDirectory='tests/extensions'
bootstrap='vendor/autoload.php'
backupGlobals='false'
backupStaticAttributes='false'
verbose='true'
colors='true'
stopOnError='true'
stopOnFailure='true'
stopOnIncomplete='false'
stopOnSkipped='false'
stopOnRisky='false'
processIsolation="false"
beStrictAboutTestsThatDoNotTestAnything='true'
beStrictAboutOutputDuringTests='true'>
<!-- Defines the test suites. -->
<testsuites>
<!-- Run a test suite of the PHP app/code. -->
<testsuite name='Bareback Test Suite'>
<directory suffix='Test.php' phpVersionOperator='>='>tests</directory>
</testsuite>
</testsuites>
<!--
Defines code coverage. See more info:
https://phpunit.de/manual/current/en/phpunit-book.html#code-coverage-analysis
-->
<filter>
<whitelist>
<directory suffix='.php'>app</directory>
</whitelist>
</filter>
<groups>
<exclude>
<group>commands</group>
<group>queries</group>
</exclude>
</groups>
<php>
<env name='APP_ENV' value='testing' />
<env name='DB_CONNECTION' value='testing' />
</php>
</phpunit>