This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
forked from laravel-portugal/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
38 lines (38 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
<directory suffix=".php">./domains</directory>
</include>
<exclude>
<directory suffix=".php">./domains/*/Database</directory>
<directory suffix=".php">./domains/*/Routes</directory>
<directory suffix=".php">./domains/*/Tests</directory>
<directory suffix=".php">./tests</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="Accounts">
<directory suffix="Test.php">./domains/Accounts/Tests</directory>
</testsuite>
<testsuite name="Links">
<directory suffix="Test.php">./domains/Links/Tests</directory>
</testsuite>
<testsuite name="Tags">
<directory suffix="Test.php">./domains/Tags/Tests</directory>
</testsuite>
</testsuites>
<php>
<server name="APP_ENV" value="testing"/>
<server name="APP_KEY" value="base64:gC38CkQRKoFz2BjNOUWhkomX3MXBg4NedkXj8sxqZ5E="/>
<server name="CACHE_DRIVER" value="array"/>
<server name="DB_CONNECTION" value="sqlite"/>
<server name="DB_DATABASE" value=":memory:"/>
<server name="QUEUE_CONNECTION" value="sync"/>
</php>
</phpunit>