summaryrefslogtreecommitdiff
path: root/phpunit.xml
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nth.ee>2024-11-10 22:40:28 +0200
committerAsko Nõmm <asko@nth.ee>2024-11-10 22:40:28 +0200
commitf662aa25495f2b1a8d5c9f368b99bd437f12002f (patch)
treebaa63e692850ed7edb12e9dd44fe113373e070e9 /phpunit.xml
parent5609a2d01aaa1b58eb9a30c4b028bb37fa933c95 (diff)
Add phpunit.xml
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 0000000..e68d9d8
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
+ bootstrap="vendor/autoload.php"
+ cacheDirectory=".phpunit.cache"
+ executionOrder="depends,defects"
+ requireCoverageMetadata="false"
+ beStrictAboutCoverageMetadata="false"
+ beStrictAboutOutputDuringTests="false"
+ failOnRisky="false"
+ failOnWarning="true">
+ <testsuites>
+ <testsuite name="default">
+ <directory>tests</directory>
+ </testsuite>
+ </testsuites>
+
+ <source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
+ <include>
+ <directory>src</directory>
+ </include>
+ </source>
+</phpunit> \ No newline at end of file