chore: implement basic tests

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-02-15 16:02:22 -05:00
parent 7826a91d94
commit ae048a7219
9 changed files with 3482 additions and 36 deletions

View File

@@ -28,9 +28,25 @@
"php": ">=8.2 <=8.5",
"sebastiankrupinski/jmap-client-php": "dev-main"
},
"require-dev": {
"phpunit/phpunit": "^11.0"
},
"autoload": {
"psr-4": {
"KTXM\\ProviderJmapc\\": "lib/"
}
}
},
"autoload-dev": {
"psr-4": {
"KTXT\\ProviderJmapc\\": "tests/php/"
}
},
"scripts": {
"post-install-cmd": [
],
"post-update-cmd": [
],
"test:unit": "phpunit --configuration tests/php/phpunit.unit.xml --colors=always --testdox",
"test:coverage": "XDEBUG_MODE=coverage phpunit --configuration tests/php/phpunit.unit.xml --coverage-html .phpunit.coverage --coverage-text"
}
}