Skip to content

Commit 77b14ef

Browse files
Create phpunit.xml
1 parent 88196bc commit 77b14ef

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

phpunit.xml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
bootstrap="bootstrap/autoload.php"
5+
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnFailure="false">
11+
<testsuites>
12+
<testsuite name="Feature Tests">
13+
<directory suffix="Test.php">./tests/Feature</directory>
14+
</testsuite>
15+
16+
<testsuite name="Unit Tests">
17+
<directory suffix="Test.php">./tests/Unit</directory>
18+
</testsuite>
19+
</testsuites>
20+
<filter>
21+
<whitelist processUncoveredFilesFromWhitelist="true">
22+
<directory suffix=".php">./app</directory>
23+
</whitelist>
24+
</filter>
25+
<php>
26+
<env name="APP_ENV" value="testing"/>
27+
<env name="CACHE_DRIVER" value="array"/>
28+
<env name="SESSION_DRIVER" value="array"/>
29+
<env name="QUEUE_DRIVER" value="sync"/>
30+
</php>
31+
</phpunit>

0 commit comments

Comments
 (0)