Skip to content

Commit

Permalink
test: Missing phpunit.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Jul 1, 2024
1 parent 1cf4bea commit 3cfcdd2
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="./tests/bootstrap.php"
convertDeprecationsToExceptions="false"
>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
</php>

<testsuites>
<testsuite name="TreeWalker Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>

<coverage cacheDirectory="coverage"
includeUncoveredFiles="true"
processUncoveredFiles="true"
pathCoverage="false"
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="true">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>tests</directory>
</exclude>
<report>
<text outputFile="php://stdout"/>
<clover outputFile="coverage/clover.xml"/>
<cobertura outputFile="coverage/cobertura.xml"/>
</report>
</coverage>
</phpunit>

0 comments on commit 3cfcdd2

Please sign in to comment.