Browse Source

[TOOLING][TESTS] Allow specifying any phpunit flag when invoking make

Examples:
  make test -- --filter 'method'
  make test -- directory
v3
Hugo Sales 5 months ago
parent
commit
8433771465
Signed by untrusted user: someonewithpc <hugo@hsal.es> GPG Key ID: 7D0C7EAFC9D835A0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docker/tooling/coverage.sh

+ 1
- 1
docker/tooling/coverage.sh View File

@@ -10,5 +10,5 @@ if [ "$#" -eq 0 ] || [ -z "$*" ]; then
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report
else
echo "Running with filter"
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report --filter "$*"
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report $*
fi

Loading…
Cancel
Save