2025-03-14 21:59:59 -06:00
|
|
|
# atoum
|
|
|
|
|
|
|
|
|
|
> Un framework de test unitaire pour PHP simple, moderne et intuitif.
|
2025-07-24 22:27:13 -06:00
|
|
|
> Plus d'informations : <https://atoum.readthedocs.io/en/latest/option_cli.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Initialise un fichier de configuration :
|
|
|
|
|
|
|
|
|
|
`atoum --init`
|
|
|
|
|
|
|
|
|
|
- Lance les tests :
|
|
|
|
|
|
|
|
|
|
`atoum`
|
|
|
|
|
|
|
|
|
|
- Lance les tests avec un fichier de configuration donné :
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-c|--configuration]}} {{chemin/vers/fichier}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Lance un fichier de test spécifique :
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-f|--files]}} {{chemin/vers/fichier}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Lance les tests présent dans dossier donné :
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-d|--directories]}} {{chemin/vers/dossier}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Lance tous les tests sous un certain namespace :
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-ns|--namespaces]}} {{namespace}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Lance tous les tests avec un certain tag :
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-t|--tags]}} {{tag}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Charge un fichier d'amorce avant de lancer les tests :
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-bf|--bootstrap-file]}} {{chemin/vers/fichier}}`
|