-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpunit.xml.dist
48 lines (43 loc) · 2.08 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="default">
<directory>tests</directory>
</testsuite>
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="e2e">
<directory>tests/E2E</directory>
</testsuite>
<testsuite name="api">
<directory>tests/Api</directory>
</testsuite>
<testsuite name="contract_external">
<directory>tests/Contract/Tpay</directory>
</testsuite>
</testsuites>
<php>
<ini name="error_reporting" value="-1" />
<server name="KERNEL_CLASS" value="\App\Kernel" />
<server name="IS_DOCTRINE_ORM_SUPPORTED" value="true" />
<server name="PANTHER_ERROR_SCREENSHOT_DIR" value="tests/Application/var/panther" />
<server name="PANTHER_WEB_SERVER_DIR" value="./tests/Application/public" />
<server name="PANTHER_NO_SANDBOX" value="1" />
<server name="PANTHER_CHROME_ARGUMENTS" value="--disable-dev-shm-usage --window-size=1400,900" />
<server name="FIXTURES_DIR" value="../Api/DataFixtures" /> <!-- relative to tests/Application dir -->
<server name="EXPECTED_RESPONSE_DIR" value="../Api/Responses" /> <!-- relative to tests/Application dir -->
<env name="APP_ENV" value="test"/>
<env name="SHELL_VERBOSITY" value="-1" />
<env name="TPAY_API_URL" value="http://localhost:4000" />
<env name="JWT_SECRET_KEY" value="%kernel.project_dir%/config/jwt/private-test.pem" />
<env name="JWT_PUBLIC_KEY" value="%kernel.project_dir%/config/jwt/public-test.pem" />
<env name="JWT_PASSPHRASE" value="ALL_THAT_IS_GOLD_DOES_NOT_GLITTER_NOT_ALL_THOSE_WHO_WANDER_ARE_LOST" />
</php>
<extensions>
<extension class="Symfony\Component\Panther\ServerExtension" />
</extensions>
</phpunit>