-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpunit.xml.dist
24 lines (24 loc) · 1002 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory suffix=".php">src/Exception/</directory>
<directory suffix=".php">src/Config/</directory>
<directory suffix=".php">src/DependencyInjection/</directory>
<file>src/AndantePeriodBundle.php</file>
</exclude>
</coverage>
<php>
<env name="APP_DEBUG" value="false"/>
<env name="DATABASE_URL" value="mysql://root:root@127.0.0.1:3306/test?serverVersion=5.7"/>
<!-- <env name="DATABASE_URL" value="sqlite:///%kernel.project_dir%/var/test_database.db"/> -->
</php>
<testsuites>
<testsuite name="Default test suite">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>