forked from forumify/forumify-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
53 lines (49 loc) · 2.02 KB
/
phpunit.xml.dist
File metadata and controls
53 lines (49 loc) · 2.02 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
bootstrap="tests/bootstrap.php"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnPhpunitDeprecations="true"
>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="-1"/>
<env name="SHELL_VERBOSITY" value="-1"/>
<server name="APP_ENV" value="test"/>
<server name="APP_SECRET" value="s3cr3tf0rt3st"/>
<server name="KERNEL_CLASS" value="Tests\ForumifyTestKernel"/>
<server name="DATABASE_URL" value="mysql://root:root@127.0.0.1:3306/forumify?serverVersion=8.4.0&charset=utf8mb4" />
<server name="DEFAULT_URI" value="http://localhost"/>
<server name="MAILER_DSN" value="smtp://localhost:1025"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value="disabled=1"/>
</php>
<testsuites>
<testsuite name="forumify/forumify-platform Application Tests">
<directory>tests/Tests/Application</directory>
</testsuite>
<testsuite name="forumify/forumify-platform Unit Tests">
<directory>tests/Tests/Unit</directory>
</testsuite>
</testsuites>
<source ignoreIndirectDeprecations="true">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>src/*/Entity</directory>
</exclude>
</source>
<coverage>
<report>
<html outputDirectory="coverage" lowUpperBound="40" highLowerBound="80"/>
</report>
</coverage>
<extensions>
<bootstrap class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
</extensions>
</phpunit>