mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
622 B
Plaintext
26 lines
622 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# kahlan
|
|
|
|
> A unit and Behaviour Driven Development test framework for PHP.
|
|
> More information: <https://kahlan.github.io/docs/cli-options.html>.
|
|
|
|
- Run all specifications in the "spec" directory:
|
|
|
|
`kahlan`
|
|
|
|
- Run specifications using a specific configuration file:
|
|
|
|
`kahlan --config={{path/to/configuration_file}}`
|
|
|
|
- Run specifications and output using a reporter:
|
|
|
|
`kahlan --reporter={{dot|bar|json|tap|verbose}}`
|
|
|
|
- Run specifications with code coverage (detail can be between 0 and 4):
|
|
|
|
`kahlan --coverage={{detail_level}}`
|