Skip to content

Commit

Permalink
Merge pull request #284 from musonza/migrate-phpunit-config
Browse files Browse the repository at this point in the history
Migrate phpunit config
  • Loading branch information
musonza authored Jun 6, 2021
2 parents 450eb34 + 54058ea commit 13dd521
Showing 1 changed file with 14 additions and 23 deletions.
37 changes: 14 additions & 23 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
<?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"
>
<testsuites>
<testsuite name="Feature Tests">
<directory suffix=".php">./tests/Feature</directory>
</testsuite>
<testsuite name="Unit Tests">
<directory suffix=".php">./tests/Unit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Feature Tests">
<directory suffix=".php">./tests/Feature</directory>
</testsuite>
<testsuite name="Unit Tests">
<directory suffix=".php">./tests/Unit</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 13dd521

Please sign in to comment.