diff --git a/composer.json b/composer.json index 0280409716..36905f81d1 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 6f16c7a73e..0e323813f8 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -7,10 +7,16 @@ timeoutForMediumTests="900" timeoutForLargeTests="900" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> - - functional/ - src/ - + + + functional/ + src/ + Unit/ + + + Unit/ + +