From 7f0bd9787e12eb8ce0855526ccb2bb10f7380b91 Mon Sep 17 00:00:00 2001 From: elsume <159491661+elsume@users.noreply.github.com> Date: Fri, 31 Jul 2026 11:29:07 -0700 Subject: [PATCH] added missing space between vendor/bin/phpunit and --filter --- _docs/developer/testing/php_unit_tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/developer/testing/php_unit_tests.md b/_docs/developer/testing/php_unit_tests.md index d2da8693..7024bdc3 100644 --- a/_docs/developer/testing/php_unit_tests.md +++ b/_docs/developer/testing/php_unit_tests.md @@ -27,7 +27,7 @@ To run just an individual class or test, you can use the `--filter` flag on PHPU For example, to run the function `testInvalidProperty` would be `sudo -u submitty_php php vendor/bin/phpunit --filter testInvalidProperty` and running all of `AccessControlTester` would be -`php vendor/bin/phpunit--filter AccessControlTester`. Be aware, filter +`php vendor/bin/phpunit --filter AccessControlTester`. Be aware, filter can match against partial strings, so if you have two tests `testFoo` and `testFooBar`, running `--filter testFoo` will run them both. Alternatively, you can also directly run `phpunit` against a specific class by passing the path to the test class directly to