Improve phpunit testsuites, add script for unit tests

This commit is contained in:
Art4 2024-11-10 00:12:47 +00:00
parent bbf7e4a936
commit 5305286312
2 changed files with 11 additions and 4 deletions

View file

@ -156,6 +156,7 @@
},
"scripts": {
"test": "phpunit",
"test:unit": "phpunit -c tests/phpunit.xml --testsuite unit",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l",
"docker:translate": "docker run --rm -v $PWD:/data -w /data friendicaci/transifex bin/run_xgettext.sh",
"cs:install": "@composer install --working-dir=bin/dev/php-cs-fixer",