-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
38 lines (35 loc) · 1.25 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<coverage>
<include>
<directory>./src/</directory>
</include>
</coverage>
<php>
<ini name="error_reporting" value="-1"/>
<server name="SHELL_VERBOSITY" value="-1"/>
</php>
<testsuites>
<!-- You probably don't want to ever run this locally, but this is a catch all so PHPUnit searches the entire
test directory looking for test files-->
<testsuite name="All">
<directory>tests/</directory>
</testsuite>
<!-- Different test types you might run separately -->
<testsuite name="Unit">
<directory>tests/Unit/</directory>
</testsuite>
<testsuite name="Integration">
<directory>tests/Integration/</directory>
</testsuite>
<testsuite name="Model">
<directory>tests/Model</directory>
</testsuite>
</testsuites>
</phpunit>