2025-03-14 21:59:59 -06:00
|
|
|
# atoum
|
|
|
|
|
|
|
|
|
|
> Un semplice, moderno ed intuitivo framework PHP per unit testing.
|
2025-07-24 22:27:13 -06:00
|
|
|
> Maggiori informazioni: <https://atoum.readthedocs.io/en/latest/option_cli.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Inizializza un file di configurazione:
|
|
|
|
|
|
|
|
|
|
`atoum --init`
|
|
|
|
|
|
|
|
|
|
- Esegui tutti i test:
|
|
|
|
|
|
|
|
|
|
`atoum`
|
|
|
|
|
|
|
|
|
|
- Esegui test utilizzando uno specifico file di configurazione:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-c|--configuration]}} {{percorso/del/file}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Esegui uno specifico file di test:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-f|--files]}} {{percorso/del/file}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Esegui una specifica directory di test:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-d|--directories]}} {{percorso/della/directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Esegui tutti i test sotto uno specifico namespace:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-ns|--namespaces]}} {{namespace}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Esegui tutti i test con uno specifico tag:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-t|--tags]}} {{tag}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Carica un file di bootstrap personalizzato prima di eseguire i test:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`atoum {{[-bf|--bootstrap-file]}} {{percorso/del/file}}`
|