From bda0743c6312368aa4ebedf13565dda14538b1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 16 Sep 2025 11:14:28 +0200 Subject: [PATCH] Update test run guidelines to use the `symfony` command for executing PHPUnit tests --- .junie/guidelines.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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