forked from PrestaShop/PrestaShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit-admin.xml
35 lines (35 loc) · 1002 Bytes
/
phpunit-admin.xml
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
<phpunit
bootstrap="bootstrap-admin.php"
processIsolation="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<php>
<env name="SYMFONY_ENV" value="test"/>
<env name="kernel.environment" value="test" />
<server name="KERNEL_CLASS" value="AppKernel" />
<const name="_PS_IN_TEST_" value="1" />
</php>
<listeners>
<listener class="Tests\TestCase\ErrorsDataListener" />
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
</listeners>
<groups>
<include>
<group>admin</group>
<group>api</group>
<group>demo</group>
</include>
</groups>
<testsuites>
<testsuite name="Unit">
<directory>Unit</directory>
</testsuite>
</testsuites>
<testsuites>
<testsuite name="Integration">
<directory>Integration</directory>
</testsuite>
</testsuites>
</phpunit>