forked from silvershop/silvershop-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
60 lines (52 loc) · 1.76 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
<!--
PHPUnit configuration for SilverStripe
Requires PHPUnit 3.5+
Usage:
- "phpunit": Runs all tests in all folders
- "phpunit framework/tests/": Run all tests of the framework module
- "phpunit framework/tests/filesystem": Run all filesystem tests within the framework module
- "phpunit framework/tests/filesystem/FolderTest.php": Run a single test
- "phpunit <dash><dash>coverage-html assets/": Generate coverage report (replace <dash> with "-", requires xdebug)
More information:
- http://www.phpunit.de/manual/current/en/textui.html
- http://doc.silverstripe.org/framework/en/topics/testing/#configuration
-->
<phpunit bootstrap="../framework/tests/bootstrap.php" colors="true">
<testsuites>
<testsuite name="Default">
<directory>tests</directory>
</testsuite>
<!-- splitting tests helps speed up coverage testing -->
<testsuite name="Split1">
<directory>tests/checkout</directory>
</testsuite>
<testsuite name="Split2">
<directory>tests/cms</directory>
<directory>tests/model</directory>
<directory>tests/modifiers</directory>
</testsuite>
<testsuite name="Split3">
<directory>tests/account</directory>
<directory>tests/cart</directory>
<directory>tests/products</directory>
<directory>tests/reports</directory>
<directory>tests/tasks</directory>
<file>tests/ShopTest.php</file>
<file>tests/ShopToolsTest.php</file>
<file>tests/ShopUserInfoTest.php</file>
</testsuite>
</testsuites>
<listeners>
<listener class="SS_TestListener" file="../framework/dev/TestListener.php" />
</listeners>
<groups>
<exclude>
<group>sanitychecks</group>
</exclude>
</groups>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">code</directory>
</whitelist>
</filter>
</phpunit>