-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
54 lines (46 loc) · 1.71 KB
/
phpunit.xml.dist
File metadata and controls
54 lines (46 loc) · 1.71 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
verbose="true"
stopOnFailure="false"
cacheResult="false">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<directory>./vendor</directory>
<directory>./tests</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="Unit Tests">
<directory suffix="Test.php">./tests</directory>
</testsuite>
<testsuite name="Adapter Tests">
<file>./tests/AdapterTest.php</file>
<file>./tests/LaravelDatabase/LaravelDatabaseAdapterTest.php</file>
<file>./tests/ThinkphpDatabase/DatabaseAdapterTest.php</file>
</testsuite>
<testsuite name="Permission Tests">
<file>./tests/PermissionTest.php</file>
<file>./tests/Adapter.php</file>
</testsuite>
<testsuite name="Edge Case Tests">
<file>./tests/EdgeCaseTest.php</file>
</testsuite>
<testsuite name="Integration Tests">
<file>./tests/IntegrationTest.php</file>
</testsuite>
</testsuites>
<logging>
<junit outputFile="tests/reports/junit.xml"/>
<testdoxHtml outputFile="tests/reports/testdox.html"/>
</logging>
<php>
<env name="APP_ENV" value="testing"/>
<env name="DB_CONNECTION" value="testing"/>
</php>
</phpunit>