-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
35 lines (35 loc) · 1.43 KB
/
Copy pathphpunit.xml
File metadata and controls
35 lines (35 loc) · 1.43 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
<?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="tests/bootstrap.php"
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory suffix="Test.php">./tests/Feature/Admin</directory>
</testsuite>
<testsuite name="System">
<directory suffix="Test.php">./tests/Feature/System</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./app</directory>
</include>
</coverage>
<!--
As variáveis de ambiente de teste (APP_ENV=testing, DB_CONNECTION=
sqlite, etc.) são definidas em tests/bootstrap.php, não aqui: o
container já recebe valores reais via docker-compose (env_file:
.env), e o Repository do phpdotenv que o Laravel usa para resolver
env() lê de $_ENV/$_SERVER — as tags <env> deste arquivo (mesmo com
force="true", que só afeta putenv()) não conseguem sobrescrever
isso. Ver o comentário em tests/bootstrap.php para o detalhe.
-->
</phpunit>