Skip to content

Commit 482229d

Browse files
committed
Allow to pass CLI args to ahoy test-* commands.
1 parent 7281522 commit 482229d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.ahoy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,21 @@ commands:
6868
usage: Run unit tests.
6969
cmd: |
7070
pushd "build" >/dev/null || exit 1
71-
vendor/bin/phpunit --testsuite unit
71+
vendor/bin/phpunit --testsuite unit "$@"
7272
popd >/dev/null || exit 1
7373
7474
test-kernel:
7575
usage: Run kernel tests.
7676
cmd: |
7777
pushd "build" >/dev/null || exit 1
78-
vendor/bin/phpunit --testsuite kernel
78+
vendor/bin/phpunit --testsuite kernel "$@"
7979
popd >/dev/null || exit 1
8080
8181
test-functional:
8282
usage: Run functional tests.
8383
cmd: |
8484
pushd "build" >/dev/null || exit 1
85-
vendor/bin/phpunit --testsuite functional
85+
vendor/bin/phpunit --testsuite functional "$@"
8686
popd >/dev/null || exit 1
8787
8888
reset:

0 commit comments

Comments
 (0)