Skip to content

Commit f6a79d0

Browse files
committed
chore: Add phpunit config file
1 parent c8d22bb commit f6a79d0

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
vendor
22
.env
33
composer.lock
4-
phpstan.neon
5-
phpunit.xml
4+
phpstan.neon

phpunit.xml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
5+
bootstrap="vendor/autoload.php"
6+
colors="true"
7+
executionOrder="depends,defects"
8+
failOnEmptyTestSuite="true"
9+
extensions="Pest\Plugins\PhpUnit\Extension"
10+
>
11+
<testsuite name="Unit">
12+
<directory suffix="Test.php">tests/Unit</directory>
13+
</testsuite>
14+
<testsuite name="Feature">
15+
<directory suffix="Test.php">tests/Feature</directory>
16+
</testsuite>
17+
<source>
18+
<include>
19+
<directory suffix=".php">./src</directory>
20+
</include>
21+
</source>
22+
</phpunit>

0 commit comments

Comments
 (0)