Update .junie/guidelines.md to refine testing guidelines

- Removed instructions for running tests on specific bundles.
- Added recommendation to test only specific files instead of running all tests or the full suite.
This commit is contained in:
2025-10-15 11:00:42 +02:00
parent 6a764353f9
commit 0ca1f46c84

View File

@@ -240,9 +240,6 @@ The tests are run from the project's root (not from the bundle's root).
# Run all tests
vendor/bin/phpunit
# Run tests for a specific bundle
vendor/bin/phpunit --testsuite NameBundle
# Run a specific test file
vendor/bin/phpunit path/to/TestFile.php
@@ -250,6 +247,9 @@ vendor/bin/phpunit path/to/TestFile.php
vendor/bin/phpunit --filter methodName path/to/TestFile.php
```
When writing tests, only test specific files. Do not run all tests or the full
test suite.
#### Test Structure
Tests are organized by bundle and follow the same structure as the bundle itself: