2019-06-15 23:30:23 +02:00
|
|
|
# behat
|
|
|
|
|
|
|
|
> Un framework PHP per lo sviluppo quidato dal comportamento.
|
|
|
|
> Maggiori informazioni: <https://behat.org>.
|
|
|
|
|
|
|
|
- Inizializza un nuovo progetto Behat:
|
|
|
|
|
|
|
|
`behat --init`
|
|
|
|
|
|
|
|
- Esegui tutti i test:
|
|
|
|
|
|
|
|
`behat`
|
|
|
|
|
|
|
|
- Esegui tutti i test di una specifica suite:
|
|
|
|
|
2024-10-13 10:27:02 +02:00
|
|
|
`behat --suite {{nome_suite}}`
|
2019-06-15 23:30:23 +02:00
|
|
|
|
|
|
|
- Esegui i test con uno specifico formato di output:
|
|
|
|
|
|
|
|
`behat --format {{pretty|progress}}`
|
|
|
|
|
|
|
|
- Esegui i testi e scrivi i risultati in un file:
|
|
|
|
|
2022-10-20 15:26:58 +02:00
|
|
|
`behat --out {{percorso/del/file}}`
|
2019-06-15 23:30:23 +02:00
|
|
|
|
|
|
|
- Mostra una lista delle definizioni nelle suite di test:
|
|
|
|
|
|
|
|
`behat --definitions`
|