-
Notifications
You must be signed in to change notification settings - Fork 17
/
phpunit.xml.travis.dist
66 lines (58 loc) · 2.59 KB
/
phpunit.xml.travis.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
59
60
61
62
63
64
65
66
<?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/8.4/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<ini name="error_reporting" value="-1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
<env name="KERNEL_CLASS" value="KejawenLab\Semart\Skeleton\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 -->
<env name="DATABASE_DRIVER" value="pdo_mysql" />
<env name="DATABASE_SERVER_VERSION" value="5.7" />
<env name="DATABASE_CHARSET" value="utf8mb4" />
<env name="DATABASE_USER" value="root" />
<env name="DATABASE_PASSWORD" value="" />
<env name="DATABASE_NAME" value="semart_test" />
<env name="DATABASE_HOST" value="127.0.0.1" />
<env name="DATABASE_PORT" value="3306" />
<env name="DATABASE_URL" value="mysql://[email protected]:3306/semart_test" />
<env name="APPLICATION_TITLE" value="SEMART SKELETON" />
<env name="APPLICATION_TITLE_LONG" value="KEJAWENLAB APPLICATION SKELETON" />
<env name="APPLICATION_VERSION" value="1@dev" />
<!-- ###+ snc/redis-bundle ### -->
<!-- passwords that contain special characters (@, %, :, +) must be urlencoded -->
<env name="REDIS_URL" value="redis://localhost"/>
<!-- ###- snc/redis-bundle ### -->
</php>
<testsuites>
<testsuite name="Semart Tests Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
<exclude>
<directory suffix=".php">./src/Controller</directory>
<directory suffix=".php">./src/DataFixutes</directory>
<directory suffix=".php">./src/Contract</directory>
<file>./src/Application.php</file>
<file>./src/Kernel.php</file>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
<logging>
<log type="coverage-clover" target="./build/logs/clover.xml"/>
</logging>
</phpunit>