2019-05-23 22:43:58 +02:00
|
|
|
# atoum
|
|
|
|
|
|
|
|
> Un semplice, moderno ed intuitivo framework PHP per unit testing.
|
2025-06-02 18:50:15 +02:00
|
|
|
> Maggiori informazioni: <https://atoum.readthedocs.io/en/latest/option_cli.html>.
|
2019-05-23 22:43:58 +02:00
|
|
|
|
|
|
|
- Inizializza un file di configurazione:
|
|
|
|
|
|
|
|
`atoum --init`
|
|
|
|
|
|
|
|
- Esegui tutti i test:
|
|
|
|
|
|
|
|
`atoum`
|
|
|
|
|
|
|
|
- Esegui test utilizzando uno specifico file di configurazione:
|
|
|
|
|
2025-06-02 18:50:15 +02:00
|
|
|
`atoum {{[-c|--configuration]}} {{percorso/del/file}}`
|
2019-05-23 22:43:58 +02:00
|
|
|
|
|
|
|
- Esegui uno specifico file di test:
|
|
|
|
|
2025-06-02 18:50:15 +02:00
|
|
|
`atoum {{[-f|--files]}} {{percorso/del/file}}`
|
2019-05-23 22:43:58 +02:00
|
|
|
|
|
|
|
- Esegui una specifica directory di test:
|
|
|
|
|
2025-06-02 18:50:15 +02:00
|
|
|
`atoum {{[-d|--directories]}} {{percorso/della/directory}}`
|
2019-05-23 22:43:58 +02:00
|
|
|
|
|
|
|
- Esegui tutti i test sotto uno specifico namespace:
|
|
|
|
|
2025-06-02 18:50:15 +02:00
|
|
|
`atoum {{[-ns|--namespaces]}} {{namespace}}`
|
2019-05-23 22:43:58 +02:00
|
|
|
|
2022-10-27 19:20:12 +02:00
|
|
|
- Esegui tutti i test con uno specifico tag:
|
2019-05-23 22:43:58 +02:00
|
|
|
|
2025-06-02 18:50:15 +02:00
|
|
|
`atoum {{[-t|--tags]}} {{tag}}`
|
2019-05-23 22:43:58 +02:00
|
|
|
|
|
|
|
- Carica un file di bootstrap personalizzato prima di eseguire i test:
|
|
|
|
|
2025-06-02 18:50:15 +02:00
|
|
|
`atoum {{[-bf|--bootstrap-file]}} {{percorso/del/file}}`
|