Chore: PHPUnit configuration update

This commit is contained in:
2023-05-03 16:07:49 +03:00
parent 9281879faf
commit 1bcb50a8d6
3 changed files with 14 additions and 6 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
vendor vendor
composer.lock composer.lock
*.cache *.cache

View File

@@ -1,13 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache"> <phpunit
<coverage> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<include> xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
<directory suffix=".php">./src</directory> bootstrap="vendor/autoload.php"
</include> colors="true"
</coverage> cacheDirectory=".phpunit.cache"
>
<coverage/>
<testsuites> <testsuites>
<testsuite name="Tests"> <testsuite name="Tests">
<directory suffix="Test.php">./tests</directory> <directory suffix="Test.php">./tests</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit> </phpunit>