-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.bak
33 lines (33 loc) · 1.27 KB
/
phpunit.xml.bak
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="bootstrap/autoload.php"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">./app</directory>
</include>
<exclude>
<file>./app/Http/routes.php</file>
<directory>./tests/Browser/</directory>
</exclude>
</coverage>
<testsuites>
<!--Running a cleanup first, to remove leftover rows from failures-->
<testsuite name="Database Cleanup">
<file>Tests/CleanUp.php</file>
</testsuite>
<!--Running all the tests (unit + integrations)-->
<testsuite name="Application Tests">
<directory>./tests</directory>
<exclude>./tests/Browser/</exclude>
</testsuite>
</testsuites>
<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"/>
<ini name="error_reporting" value="E_ALL"/>
<ini name="memory_limit" value="16048M"/>
<!-- Adjust the memory limit as needed -->
</php>
</phpunit>