Skip to content

Commit 1985ac1

Browse files
committed
phpunit config
1 parent c4fe14d commit 1985ac1

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
vendor/
2+
.phpunit.result.cache

phpunit.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false"
3+
bootstrap="./vendor/autoload.php"
4+
colors="true"
5+
convertErrorsToExceptions="true"
6+
convertNoticesToExceptions="true"
7+
convertWarningsToExceptions="true"
8+
verbose="true"
9+
>
10+
<testsuites>
11+
<testsuite name="Laravel Swagger Test Suite">
12+
<directory suffix="Test.php">./tests</directory>
13+
</testsuite>
14+
</testsuites>
15+
<filter>
16+
<whitelist addUncoveredFilesFromWhitelist="true">
17+
<directory suffix=".php">./src</directory>
18+
</whitelist>
19+
</filter>
20+
</phpunit>

0 commit comments

Comments
 (0)