From b6dd2c7abe990a183b0290ecfbead027a8af5774 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 21 Apr 2021 20:49:04 +0200 Subject: run-tests: Pass any additional args to phpunit. Particularly useful for running a specific test case: For example: ./run-tests --filter Band::testCreateBandWithName --- run-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $*" -- cgit v1.2.3