-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
48 lines (46 loc) · 2 KB
/
phpunit.xml.dist
File metadata and controls
48 lines (46 loc) · 2 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="tests/bootstrap.php"
executionOrder="depends,defects"
forceCoversAnnotation="false"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
convertDeprecationsToExceptions="false"
failOnRisky="true"
failOnWarning="true"
verbose="true">
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>src/DataFixtures</directory>
<file>src/Kernel.php</file>
</exclude>
</coverage>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="APP_SECRET" value="s$cretf0rt3st" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
<server name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
<env name="KERNEL_CLASS" value="App\Kernel" />
<env name="APP_SECRET" value="s$cretf0rt3st" force="true" />
<!-- Use MySQL Docker container for tests -->
<env name="DATABASE_URL" value="mysql://user:password@127.0.0.1:3307/cyclops_test?charset=utf8mb4&serverVersion=8.0" />
<env name="ENCRYPTION_KEY" value="test_encryption_key_for_tests" />
<env name="MAILER_DSN" value="null://null" />
<env name="AWS_REGION" value="us-east-1" />
<env name="AWS_ACCESS_KEY_ID" value="test_key" />
<env name="AWS_SECRET_ACCESS_KEY" value="test_secret" />
</php>
</phpunit>