Skip to content

Commit 12dd9d2

Browse files
committed
Fix PHPUnit configuration for faster coverage tests
1 parent 3cd1f0c commit 12dd9d2

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

phpunit.xml

+14-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false"
3-
colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true"
4-
convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false"
5-
bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
bootstrap="vendor/autoload.php"
5+
backupGlobals="false"
6+
backupStaticAttributes="false"
7+
colors="true"
8+
verbose="true"
9+
convertErrorsToExceptions="true"
10+
convertNoticesToExceptions="true"
11+
convertWarningsToExceptions="true"
12+
processIsolation="false"
13+
stopOnFailure="false"
14+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
15+
>
616
<coverage>
717
<include>
818
<directory>./src</directory>
919
</include>
10-
<exclude>
11-
<directory>./tests</directory>
12-
<directory>./vendor</directory>
13-
</exclude>
1420
</coverage>
1521
<testsuites>
1622
<testsuite name="Tests">
@@ -21,5 +27,4 @@
2127
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
2228
<env name="DB_CONNECTION" value="testing"/>
2329
</php>
24-
2530
</phpunit>

0 commit comments

Comments
 (0)