mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 14:46:00 +02:00
behat: add page (#3051)
This commit is contained in:
parent
811b273f51
commit
752d45121f
1 changed files with 28 additions and 0 deletions
28
pages/common/behat.md
Normal file
28
pages/common/behat.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue