chore: implement php test suites

Signed-off-by: Sebastian <krupinski01@gmail.com>
This commit is contained in:
2026-07-23 22:20:36 -04:00
parent 4d8ee0c668
commit 99fda70bdb
9 changed files with 1923 additions and 19 deletions
+13 -1
View File
@@ -4,13 +4,25 @@
"type": "library",
"license": "AGPL-3.0-or-later",
"require": {
"php": ">=8.1",
"php": ">=8.3",
"sabre/dav": "^4.7",
"sabre/vobject": "^4.5"
},
"require-dev": {
"phpunit/phpunit": "^12.0"
},
"config": {
"vendor-dir": "lib/vendor",
"optimize-autoloader": true,
"sort-packages": true
},
"autoload-dev": {
"psr-4": {
"KTXT\\ServiceDav\\Tests\\": "tests/php/"
}
},
"scripts": {
"test:unit": "phpunit --configuration tests/php/phpunit.xml --testsuite \"Unit Tests\" --colors=always --testdox",
"test:integration": "phpunit --configuration tests/php/phpunit.xml --testsuite \"Integration Tests\" --colors=always --testdox"
}
}