mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 10:54:45 +00:00
Update cheatsheets
This commit is contained in:
33
behat
Normal file
33
behat
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# behat
|
||||
|
||||
> A PHP framework for Behaviour-Driven Development.
|
||||
> More information: <https://behat.org>.
|
||||
|
||||
- Initialize 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}}`
|
||||
|
||||
- List the definitions in your test suites:
|
||||
|
||||
`behat --definitions`
|
||||
Reference in New Issue
Block a user