-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
70 lines (70 loc) · 3.3 KB
/
phpunit.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
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
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.2/phpunit.xsd"
colors="true"
columns="max"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="./framework/bootstrap.php"
>
<testsuite name="Magento_Unit_Tests_App_Code">
<directory suffix="Test.php">../../../app/code/*/*/Test/Unit</directory>
</testsuite>
<testsuite name="Magento_Unit_Tests_Other">
<directory suffix="Test.php">../../../lib/internal/*/*/Test/Unit</directory>
<directory suffix="Test.php">../../../lib/internal/*/*/*/Test/Unit</directory>
<directory suffix="Test.php">../../../setup/src/*/*/Test/Unit</directory>
<directory suffix="Test.php">../../../vendor/*/module-*/Test/Unit</directory>
<directory suffix="Test.php">../../../vendor/*/framework/Test/Unit</directory>
<directory suffix="Test.php">../../../vendor/*/framework/*/Test/Unit</directory>
<directory suffix="Test.php">../../tests/unit/*/Test/Unit</directory>
</testsuite>
<php>
<ini name="date.timezone" value="America/Los_Angeles"/>
<ini name="xdebug.max_nesting_level" value="200"/>
</php>
<filter>
<whitelist addUncoveredFilesFromWhiteList="true">
<directory suffix=".php">../../../app/code/*</directory>
<exclude>
<directory suffix="registration.php">../../../app/code/*</directory>
<directory>../../../app/code/*/*/Test</directory>
<directory>../../../lib/internal/*/*/Test</directory>
<directory>../../../lib/internal/*/*/*/Test</directory>
<directory>../../../setup/src/*/*/Test</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Yandex\Allure\Adapter\AllureAdapter">
<arguments>
<string>var/allure-results</string> <!-- XML files output directory -->
<boolean>true</boolean> <!-- Whether to delete previous results on rerun -->
<array> <!-- A list of custom annotations to ignore (optional) -->
<element key="codingStandardsIgnoreStart">
<string>codingStandardsIgnoreStart</string>
</element>
<element key="codingStandardsIgnoreEnd">
<string>codingStandardsIgnoreEnd</string>
</element>
<element key="cover">
<string>cover</string>
</element>
<element key="expectedExceptionMessageRegExp">
<string>expectedExceptionMessageRegExp</string>
</element>
</array>
</arguments>
</listener>
<listener class="Magento\Framework\TestFramework\Unit\Listener\ReplaceObjectManager"/>
</listeners>
<logging>
<log type="coverage-html" target="tmp/test-reports/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-clover" target="tmp/test-reports/phpunit.coverage.xml"/>
</logging>
</phpunit>