This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpunit.xml.dist
58 lines (52 loc) · 2.08 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
<?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="http://schema.phpunit.de/6.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer"
>
<php>
<ini name="error_reporting" value="-1" />
<env name="KERNEL_CLASS" value="App\Kernel" />
<env name="APP_ENV" value="test" />
<env name="APP_DEBUG" value="1" />
<env name="APP_SECRET" value="s$cretf0rt3st" />
<env name="SHELL_VERBOSITY" value="-1" />
<!-- define your env variables for the test env here -->
<!-- ###+ knplabs/github-api ### -->
<env name="GITHUB_AUTH_METHOD" value="http_password"/>
<env name="GITHUB_USERNAME" value="username"/>
<env name="GITHUB_SECRET" value="password_or_token"/>
<!-- ###- knplabs/github-api ### -->
</php>
<testsuites>
<testsuite name="Functional tests">
<directory>./tests/Functional/</directory>
</testsuite>
<testsuite name="Integration tests">
<directory>./tests/Integration/</directory>
</testsuite>
<testsuite name="Unit tests">
<directory>./tests/Unit/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src/</directory>
<exclude>
<file>src/Kernel.php</file>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
<logging>
<log type="coverage-html" target="build/report" lowUpperBound="55" highLowerBound="90" />
<log type="coverage-clover" target="build/logs/clover.xml" />
<log type="coverage-text" target="php://stdout" showOnlySummary="true" />
<log type="junit" target="build/logs/junit.xml" />
</logging>
</phpunit>