-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathphpunit.xml
More file actions
75 lines (63 loc) · 2.54 KB
/
phpunit.xml
File metadata and controls
75 lines (63 loc) · 2.54 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">Modules/Role/tests/Unit</directory>
</testsuite>
<!-- <testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>-->
<testsuite name="Feature">
<directory suffix="Test.php">./Modules/User/tests/Feature</directory>
</testsuite>
<!--auth tests-->
<testsuite name="Unit">
<directory suffix="Test.php">./Modules/Auth/tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./Modules/Auth/tests/Feature</directory>
</testsuite>
<!--category tests-->
<testsuite name="Feature">
<directory suffix="Test.php">./Modules/Category/tests/Feature</directory>
</testsuite>
<!--post tests-->
<testsuite name="Feature">
<directory suffix="Test.php">./Modules/Post/tests/Feature</directory>
</testsuite>
<!--panel tests-->
<testsuite name="Feature">
<directory suffix="Test.php">./Modules/Panel/tests/Feature</directory>
</testsuite>
<!--comment tests-->
<testsuite name="Unit">
<directory suffix="Test.php">./Modules/Comment/tests/Unit</directory>
</testsuite>
<!--plan tests-->
<testsuite name="Feature">
<directory suffix="Test.php">./Modules/Plan/tests/Feature</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./Modules</directory>
</include>
</coverage>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<!--<server name="DB_CONNECTION" value="mysql"/>
<server name="DB_DATABASE" value="blog_test"/>-->
<server name="MAIL_MAILER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
<server name="TELESCOPE_ENABLED" value="false"/>
<server name="FILESYSTEM_DRIVER" value="local"/>
<env name="BROADCAST_DRIVER" value="log"/>
</php>
</phpunit>