-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
59 lines (49 loc) · 1.99 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true"
syntaxCheck="false"
bootstrap="phpunit-bootstrap.php">
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./module</directory>
<exclude>
<!-- dont include test files -->
<directory suffix="Test.php">./module</directory>
<!-- dont include view scripts -->
<directory suffix=".phtml">./module</directory>
<!-- dont include controllers -->
<directory suffix="Controller.php">./module</directory>
<!-- dont include forms -->
<directory suffix="Form.php">./module</directory>
<!-- dont include ZF scaffolding -->
<directory suffix="Module.php">./module</directory>
<directory suffix="config/module.config.php">./module</directory>
</exclude>
</whitelist>
</filter>
<php>
<env name="IS_PHPUNIT" value="1" />
</php>
<testsuites>
<testsuite name="unit">
<directory>module/Address/test</directory>
<directory>module/Application/test</directory>
<directory>module/Product/test</directory>
<directory>module/Category/test</directory>
<directory>module/Cart/test</directory>
<directory>module/Image/test</directory>
<directory>module/Order/test</directory>
</testsuite>
<testsuite name="performance">
<directory>module/Product/test_performance</directory>
</testsuite>
</testsuites>
</phpunit>