mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-16 00:57:38 +00:00
Merge branch 'ticket-app-master' into ticket/64-identifiants-person
# Conflicts: # package.json # src/Bundle/ChillMainBundle/Entity/User.php # src/Bundle/ChillMainBundle/Resources/public/types.ts # src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/Modal.vue # src/Bundle/ChillPersonBundle/chill.api.specs.yaml # src/Bundle/ChillTicketBundle/src/Messenger/Handler/PostTicketUpdateMessageHandler.php
This commit is contained in:
@@ -239,6 +239,7 @@ The tests are run from the project's root (not from the bundle's root: so, do no
|
||||
Tests must be run using the `symfony` command:
|
||||
|
||||
```bash
|
||||
|
||||
# Run a specific test file
|
||||
symfony composer exec phpunit -- path/to/TestFile.php
|
||||
|
||||
@@ -246,6 +247,9 @@ symfony composer exec phpunit -- path/to/TestFile.php
|
||||
symfony composer exec 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:
|
||||
|
||||
Reference in New Issue
Block a user