diff --git a/.junie/guidelines.md b/.junie/guidelines.md index 0274bcbff..1c32203ce 100644 --- a/.junie/guidelines.md +++ b/.junie/guidelines.md @@ -236,12 +236,14 @@ This must be a decision made by a human, not by an AI. Every AI task must abort The tests are run from the project's root (not from the bundle's root: so, do not change the directory to any bundle directory before running tests). +Tests must be run using the `symfony` command: + ```bash # Run a specific test file -vendor/bin/phpunit path/to/TestFile.php +symfony composer exec phpunit -- path/to/TestFile.php # Run a specific test method -vendor/bin/phpunit --filter methodName path/to/TestFile.php +symfony composer exec phpunit -- --filter methodName path/to/TestFile.php ``` #### Test Structure