forked from adshares/adserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit-ci.xml
52 lines (48 loc) · 1.82 KB
/
phpunit-ci.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
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2018-2019 Adshares sp. z o.o.
~
~ This file is part of AdServer
~
~ AdServer is free software: you can redistribute and/or modify it
~ under the terms of the GNU General Public License as published
~ by the Free Software Foundation, either version 3 of the License,
~ or (at your option) any later version.
~
~ AdServer is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty
~ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with AdServer. If not, see <https://www.gnu.org/licenses/>
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.5/phpunit.xsd"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<env name="APP_ENV" value="testing" force="true"/>
</php>
<testsuites>
<testsuite name="Application">
<directory>./tests/app</directory>
</testsuite>
<testsuite name="Unit">
<directory>./tests/src</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
<directory suffix=".php">./src</directory>
<directory suffix=".php">./lib</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>
<log type="coverage-clover" target="./storage/phpunit/coverage.xml"/>
<log type="junit" target="./storage/phpunit/logfile.xml"/>
</logging>
</phpunit>