-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpunit.xml
58 lines (58 loc) · 2.44 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php"
colors="true" processIsolation="false" stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<testsuites>
<testsuite name="unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="application">
<directory suffix="Test.php">./tests/Application</directory>
</testsuite>
<testsuite name="forms">
<directory suffix="Test.php">./src/Forms/Tests</directory>
</testsuite>
<testsuite name="assets">
<directory suffix="Test.php">./src/Assets/Tests</directory>
</testsuite>
<testsuite name="fragments">
<directory suffix="Test.php">./src/Fragments</directory>
</testsuite>
<testsuite name="resources">
<directory suffix="Test.php">./src/ManagedModels</directory>
<directory suffix="Test.php">./src/Managers</directory>
<directory suffix="Test.php">./src/Resource</directory>
</testsuite>
<testsuite name="admin">
<directory suffix="Test.php">./src/Admin</directory>
<directory suffix="Test.php">./src/Site</directory>
<directory suffix="Test.php">./src/Shared</directory>
<directory suffix="Test.php">./src/Table</directory>
</testsuite>
<testsuite name="plugins">
<directory suffix="Test.php">./src/Plugins</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<php>
<env name="APP_KEY" value="base64:qS0gL9WK3DppyaiXy79dURhU+ecb6k9aryqyOmpHjF8="/>
<env name="APP_ENV" value="testing"/>
<env name="APP_DEBUG" value="true"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="DB_CONNECTION" value="testing"/>
</php>
<source>
<include>
<directory suffix=".php">./app</directory>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<file>./routes.php</file>
</exclude>
</source>
</phpunit>