forked from edusoho/edusoho
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
87 lines (80 loc) · 3.32 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?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 = "false"
syntaxCheck = "false"
bootstrap = "../bootstrap/bootstrap_test.php" >
<!-- 如何执行见 .travis.yml -->
<testsuites>
<testsuite name="UnitA2B">
<directory>../tests/Unit/A*</directory>
<directory>../tests/Unit/B*</directory>
<file>./tests/Unit/AbstractCopyTest.php</file>
</testsuite>
<testsuite name="UnitC2C">
<directory>../tests/Unit/C*</directory>
<exclude>../tests/Unit/CloudPlatform/Service/AppServiceTest.php</exclude>
</testsuite>
<testsuite name="UnitD2D">
<directory>../tests/Unit/D*</directory>
</testsuite>
<testsuite name="UnitE2P">
<directory>../tests/Unit/E*</directory>
<directory>../tests/Unit/F*</directory>
<directory>../tests/Unit/G*</directory>
<directory>../tests/Unit/H*</directory>
<directory>../tests/Unit/I*</directory>
<directory>../tests/Unit/J*</directory>
<directory>../tests/Unit/K*</directory>
<directory>../tests/Unit/L*</directory>
<directory>../tests/Unit/M*</directory>
<directory>../tests/Unit/N*</directory>
<directory>../tests/Unit/O*</directory>
<directory>../tests/Unit/P*</directory>
</testsuite>
<testsuite name="UnitQ2T">
<directory>../tests/Unit/Q*</directory>
<directory>../tests/Unit/R*</directory>
<directory>../tests/Unit/S*</directory>
<directory>../tests/Unit/T*</directory>
</testsuite>
<testsuite name="UnitU2Z">
<directory>../tests/Unit/V*</directory>
<directory>../tests/Unit/U*</directory>
<directory>../tests/Unit/W*</directory>
<directory>../tests/Unit/X*</directory>
<directory>../tests/Unit/Y*</directory>
<directory>../tests/Unit/Z*</directory>
</testsuite>
<testsuite name="SpecialTest">
<file>../tests/Unit/CloudPlatform/Service/AppServiceTest.php</file>
</testsuite>
<testsuite name="CustomBundle">
<directory>../src/CustomBundle/Tests</directory>
<directory>../src/CustomBundle/Extensions/DataTag/Tests</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
</php>
<filter>
<whitelist>
<directory suffix=".php">../src/Biz</directory>
<exclude>
<directory>../src/Biz/Util/Phpsec</directory>
<directory suffix="Exception.php">../src/Biz</directory>
</exclude>
<directory suffix=".php">../src/AppBundle</directory>
</whitelist>
</filter>
</phpunit>