Skip to content

Commit

Permalink
Migrate phpunit config
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusjunges committed Jun 9, 2024
1 parent 11e58e0 commit dc04b15
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 25 deletions.
44 changes: 19 additions & 25 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<coverage cacheDirectory="/tmp">
<include>
<directory suffix=".php">src/</directory>
</include>
<report>
<clover outputFile="./tests/reports/clover.xml"/>
<html outputDirectory="./tests/reports/" lowUpperBound="35" highLowerBound="70"/>
<text outputFile="php://stdout"/>
</report>
</coverage>
<testsuites>
<testsuite name="Laravel Kafka Unit Tests">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<php>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage>
<report>
<clover outputFile="./tests/reports/clover.xml"/>
<html outputDirectory="./tests/reports/" lowUpperBound="35" highLowerBound="70"/>
<text outputFile="php://stdout"/>
</report>
</coverage>
<testsuites>
<testsuite name="Laravel Kafka Unit Tests">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<php>
</php>
<source>
<include>
<directory suffix=".php">src/</directory>
</include>
</source>
</phpunit>
28 changes: 28 additions & 0 deletions phpunit.xml.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<coverage cacheDirectory="/tmp">
<include>
<directory suffix=".php">src/</directory>
</include>
<report>
<clover outputFile="./tests/reports/clover.xml"/>
<html outputDirectory="./tests/reports/" lowUpperBound="35" highLowerBound="70"/>
<text outputFile="php://stdout"/>
</report>
</coverage>
<testsuites>
<testsuite name="Laravel Kafka Unit Tests">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<php>
</php>
</phpunit>

0 comments on commit dc04b15

Please sign in to comment.