Skip to content

Commit

Permalink
Merge pull request #591 from inertiajs/phpunit-config
Browse files Browse the repository at this point in the history
Update PHPUnit configuration
  • Loading branch information
jessarcher authored Mar 6, 2024
2 parents 619388f + e855058 commit 463b280
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.env
.phpunit.result.cache
/.phpunit.cache
composer.lock
phpunit.xml
/vendor
18 changes: 8 additions & 10 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
cacheDirectory=".phpunit.cache"
backupGlobals="false"
backupStaticAttributes="false"
backupStaticProperties="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnNotice="true"
failOnWarning="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<source>
<include>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
</include>
</source>
</phpunit>

0 comments on commit 463b280

Please sign in to comment.