-
-
Notifications
You must be signed in to change notification settings - Fork 93
/
phpunit.xml.dist
61 lines (51 loc) · 2.16 KB
/
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
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
<?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"
convertWarningsToExceptions="false"
>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
<server name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
<!-- define your env variables for the test env here -->
<!-- ###+ snc/redis-bundle ### -->
<!-- passwords that contain special characters (@, %, :, +) must be urlencoded -->
<env name="REDIS_HOST" value="redis"/>
<!-- ###- snc/redis-bundle ### -->
<!-- ###+ knplabs/github-api ### -->
<env name="GITHUB_AUTH_METHOD" value="access_token_header"/>
<env name="GITHUB_USERNAME" value=""/>
<env name="GITHUB_SECRET" value=""/>
<!-- ###- knplabs/github-api ### -->
<!-- ###+ sentry/sentry-symfony ### -->
<env name="SENTRY_DSN" value=""/>
<!-- ###- sentry/sentry-symfony ### -->
<env name="CIRCLE_CI_TOKEN" value=""/>
<env name="BITBUCKET_AUTH_METHOD" value="http_password"/>
<env name="BITBUCKET_TOKEN" value=""/>
<env name="BITBUCKET_SECRET" value=""/>
</php>
<testsuites>
<testsuite name="BadgePoser Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
<!-- see https://www.tomasvotruba.cz/blog/2019/03/28/how-to-mock-final-classes-in-phpunit/ -->
<extensions>
<extension class="App\Tests\Hook\BypassFinalHook"/>
</extensions>
</phpunit>