-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphpunit.xml
68 lines (67 loc) · 2.99 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
beStrictAboutTestsThatDoNotTestAnything="false"
backupStaticAttributes="false"
bootstrap="bootstrap/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation=""
stopOnError="false"
stopOnFailure="false">
<logging>
<log type="coverage-html" target="./reports/report" lowUpperBound="35" highLowerBound="70"/>
</logging>
<testsuites>
<!--
<testsuite name="Feature Tests">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
-->
<testsuite name="CommandBus Integration Tests">
<directory suffix="Test.php">./tests/Integration/CommandBus</directory>
</testsuite>
<testsuite name="Module Integration Tests">
<directory suffix="Test.php">./tests/Module</directory>
</testsuite>
<!--
<testsuite name="ODBC Integration Tests">
<directory suffix="Test.php">./tests/ODBC</directory>
</testsuite>
-->
<testsuite name="Entities for Administration Module Tests">
<directory suffix="Test.php">./Modules/Administration/Tests/Entities/Eloquent</directory>
<directory suffix="Test.php">./Modules/Administration/Tests/Entities/ArrayRepository</directory>
<directory suffix="Test.php">./Modules/Administration/Tests/Commands</directory>
<directory suffix="Test.php">./Modules/Administration/Tests/HttpController</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./tests/Integration/CommandBus</directory>
<directory suffix=".php">./tests/Module</directory>
<directory suffix=".php">./Modules/Administration/Tests/Entities/Eloquent</directory>
<directory suffix=".php">./Modules/Administration/Tests/Entities/ArrayRepository</directory>
<directory suffix=".php">./Modules/Administration/Tests/Commands</directory>
<directory suffix=".php">./Modules/Administration/Tests/HttpController</directory>
</whitelist>
<blacklist >
<directory suffix=".php">./vendor</directory>
<directory suffix=".php">./tauproject</directory>
<directory suffix=".php">./tests/ODBC</directory>
</blacklist>
</filter>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="MAIL_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="tau_test"/>
<!--
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
-->
</php>
</phpunit>