/
phpunit.xml
48 lines (43 loc) · 1.86 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
39
40
41
42
43
44
45
46
47
48
<?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"
>
<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="5a79a1c866efef9ca1800f971d689f3e"/>
<!-- define your env variables for the test env here -->
<!-- ###+ doctrine/doctrine-bundle ### -->
<!--<env name="DATABASE_URL" value="sqlite:///var/data/blog_test.sqlite"/>-->
<!-- ###- doctrine/doctrine-bundle ### -->
<!-- ###+ symfony/swiftmailer-bundle ### -->
<!--<env name="MAILER_URL" value="null://localhost"/>-->
<!-- ###- symfony/swiftmailer-bundle ### -->
</php>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/phpnsq/</directory>
<exclude>
<directory suffix=".php">./src/config</directory>
<file>./src/config/phpnsq.yml</file>
</exclude>
</whitelist>
</filter>
<testsuites>
<testsuite name="Config">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html" target="./tmp/coverage.html" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="./tmp/coverage.xml"/>
<log type="testdox-html" target="./tmp/testdox.html"/>
<log type="testdox-text" target="./tmp/testdox.txt"/>
</logging>
</phpunit>