summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-04-21 20:49:04 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-04-21 20:49:04 +0200
commitb6dd2c7abe990a183b0290ecfbead027a8af5774 (patch)
tree7a7a60ab9c8ee304b1d6a9e1608811540417a406
parentf2b63c7e20118bfaefe8629f61d45a08e771f852 (diff)
downloadgigologadmin-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
-rwxr-xr-xrun-tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests b/run-tests
index 679f895..282d0ae 100755
--- a/run-tests
+++ b/run-tests
@@ -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 $*"