diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-04-21 20:49:04 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-04-21 20:49:04 +0200 |
commit | b6dd2c7abe990a183b0290ecfbead027a8af5774 (patch) | |
tree | 7a7a60ab9c8ee304b1d6a9e1608811540417a406 /run-tests | |
parent | f2b63c7e20118bfaefe8629f61d45a08e771f852 (diff) | |
download | gigologadmin-b6dd2c7abe990a183b0290ecfbead027a8af5774.tar.gz gigologadmin-b6dd2c7abe990a183b0290ecfbead027a8af5774.tar.bz2 gigologadmin-b6dd2c7abe990a183b0290ecfbead027a8af5774.zip |
run-tests: Pass any additional args to phpunit.
Particularly useful for running a specific test case:
For example:
./run-tests --filter Band::testCreateBandWithName
Diffstat (limited to 'run-tests')
-rwxr-xr-x | run-tests | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,2 +1,2 @@ #!/usr/bin/env bash -npm run wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/giglogadmin/phpunit.xml' +npm run wp-env run phpunit "phpunit -c /var/www/html/wp-content/plugins/giglogadmin/phpunit.xml $*" |