Skip to content

Commit

Permalink
Modernize phpunit config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayesh committed Jan 10, 2024
1 parent 3166285 commit 7f0a46f
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,22 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" executionOrder="depends,defects" beStrictAboutOutputDuringTests="true" cacheResult="true" colors="true" cacheDirectory=".phpunit.cache" requireCoverageMetadata="false" beStrictAboutCoverageMetadata="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
executionOrder="depends,defects"
beStrictAboutOutputDuringTests="true"
colors="true"
cacheDirectory=".phpunit.cache"
failOnWarning="true"
failOnRisky="true"
failOnDeprecation="true"
failOnIncomplete="true"
failOnNotice="true"
failOnEmptyTestSuite="true"
beStrictAboutChangesToGlobalState="true"
testdox="true"
beStrictAboutCoverageMetadata="true">
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<report>
<html outputDirectory="build/coverage-html"/>
<text outputFile="php://stdout" showUncoveredFiles="false"/>
<text outputFile="php://stdout"/>
</report>
</coverage>
<logging>
<testdoxHtml outputFile="build/coverage-html"/>
</logging>
<source>
<include>
<directory suffix=".php">src</directory>
<directory>src</directory>
</include>
</source>
</phpunit>

0 comments on commit 7f0a46f

Please sign in to comment.