aboutsummaryrefslogtreecommitdiffhomepage
path: root/phpunit.xml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-04-27 18:53:27 +0900
committernsfisis <nsfisis@gmail.com>2024-04-28 01:02:35 +0900
commitd8da7b5db06e28e55b52a3b46e920ea3be64f120 (patch)
tree8a1772f2b4d5c9c35146e7a8f19341e7fa0a7798 /phpunit.xml
parent25ad2004c1d786a1dbe42d24c08f228c870210a4 (diff)
downloadphp-waddiwasi-d8da7b5db06e28e55b52a3b46e920ea3be64f120.tar.gz
php-waddiwasi-d8da7b5db06e28e55b52a3b46e920ea3be64f120.tar.zst
php-waddiwasi-d8da7b5db06e28e55b52a3b46e920ea3be64f120.zip
feat: introduce PHPUnit
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 0000000..db40928
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.1/phpunit.xsd"
+ bootstrap="vendor/autoload.php"
+ cacheDirectory=".phpunit.cache"
+ executionOrder="depends,defects"
+ beStrictAboutOutputDuringTests="true"
+ failOnRisky="true"
+ failOnWarning="true">
+ <testsuites>
+ <testsuite name="default">
+ <directory>tests</directory>
+ </testsuite>
+ </testsuites>
+
+ <source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
+ <include>
+ <directory>src</directory>
+ </include>
+ </source>
+</phpunit>