forked from rectorphp/rector-src
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
48 lines (45 loc) · 1.63 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
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
executionOrder="defects"
defaultTestSuite="main"
displayDetailsOnTestsThatTriggerWarnings="true"
>
<testsuites>
<testsuite name="main">
<directory>tests</directory>
<directory>rules-tests</directory>
<directory>packages-tests</directory>
<directory>utils-tests</directory>
</testsuite>
<!-- divide the rules-tests roughly in 3 equal sized groups -->
<testsuite name="php-rules">
<directory>rules-tests/Php*</directory>
</testsuite>
<testsuite name="type-declaration-rules">
<directory>rules-tests/TypeDeclaration</directory>
</testsuite>
<testsuite name="code-quality-rules">
<directory>rules-tests/CodeQuality</directory>
</testsuite>
<testsuite name="dead-code-rules">
<directory>rules-tests/DeadCode</directory>
</testsuite>
<testsuite name="other-rules">
<directory>rules-tests/</directory>
<exclude>rules-tests/Php*</exclude>
<exclude>rules-tests/TypeDeclaration</exclude>
<exclude>rules-tests/CodeQuality</exclude>
<exclude>rules-tests/DeadCode</exclude>
</testsuite>
</testsuites>
<php>
<ini name="memory_limit" value="-1"/>
</php>
<extensions>
<bootstrap class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/>
</extensions>
</phpunit>