diff --git a/.gitignore b/.gitignore index 50b4488..e74fb94 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ !/bin/* !/config/** !/phpstan.neon +!/phpunit.xml.dist !/scripts/** !/web/modules/custom/** !/web/sites/default/environments/settings.*.php diff --git a/bin/run-tests.sh b/bin/run-tests.sh index 358ca47..bf9b8ad 100755 --- a/bin/run-tests.sh +++ b/bin/run-tests.sh @@ -18,5 +18,4 @@ symfony php vendor/bin/phpcs -n \ vendor/bin/phpstan analyze symfony php vendor/bin/phpunit \ - -c web/core \ "$@" diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 0000000..1b5c0f4 --- /dev/null +++ b/phpunit.xml.dist @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + ./web/modules/custom/**/tests/**/Functional + + + ./web/modules/custom/**/tests/**/Kernel + + + ./web/modules/custom/**/tests/**/Unit + + +