mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
29 lines
492 B
Markdown
29 lines
492 B
Markdown
# behat
|
|
|
|
> A PHP framework for Behaviour-Driven Development.
|
|
> More information: <https://behat.org>.
|
|
|
|
- Initialise a new Behat project:
|
|
|
|
`behat --init`
|
|
|
|
- Run all tests:
|
|
|
|
`behat`
|
|
|
|
- Run all tests from the specified suite:
|
|
|
|
`behat --suite={{suite_name}}`
|
|
|
|
- Run tests with a specific output formatter:
|
|
|
|
`behat --format {{pretty|progress}}`
|
|
|
|
- Run tests and output results to a file:
|
|
|
|
`behat --out {{path/to/file}}`
|
|
|
|
- Display a list of definitions in your test suites:
|
|
|
|
`behat --definitions`
|