2025-03-14 21:59:59 -06:00
|
|
|
# behat
|
|
|
|
|
|
|
|
|
|
> Un framework PHP per lo sviluppo quidato dal comportamento.
|
2025-12-16 10:20:31 -07:00
|
|
|
> Maggiori informazioni: <https://docs.behat.org/en/latest/user_guide/command_line_tool.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Inizializza un nuovo progetto Behat:
|
|
|
|
|
|
|
|
|
|
`behat --init`
|
|
|
|
|
|
|
|
|
|
- Esegui tutti i test:
|
|
|
|
|
|
|
|
|
|
`behat`
|
|
|
|
|
|
|
|
|
|
- Esegui tutti i test di una specifica suite:
|
|
|
|
|
|
|
|
|
|
`behat --suite {{nome_suite}}`
|
|
|
|
|
|
|
|
|
|
- Esegui i test con uno specifico formato di output:
|
|
|
|
|
|
|
|
|
|
`behat --format {{pretty|progress}}`
|
|
|
|
|
|
|
|
|
|
- Esegui i testi e scrivi i risultati in un file:
|
|
|
|
|
|
|
|
|
|
`behat --out {{percorso/del/file}}`
|
|
|
|
|
|
|
|
|
|
- Mostra una lista delle definizioni nelle suite di test:
|
|
|
|
|
|
|
|
|
|
`behat --definitions`
|