Skip to content
Snippets Groups Projects
Commit 790e21f9 authored by jurgenhaas's avatar jurgenhaas
Browse files

#3 Add support for module...

#3 Add support for module specific tests in contrib instead of custom
parent aa56f906
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,17 @@ commands:
cmd: ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist "$@"
usage: PHP unit tests
phpunitgroup:
cmd: ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --group="$@"
cmd: |
group=$1
shift
ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --group="$group" $@
usage: PHP unit tests by group
phpunitmodule:
cmd: |
module=$1
shift
ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist web/modules/contrib/$module $@
usage: PHP unit tests by module
phpunit:list:suites:
cmd: ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --list-suites "$@"
usage: List available test suites of PHP unit tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment