tldr/pages/common/kahlan.md

21 lines
507 B
Markdown
Raw Permalink Normal View History

2019-07-03 14:23:01 +01:00
# kahlan
> A unit and Behaviour Driven Development test framework for PHP.
> More information: <https://kahlan.github.io>.
- 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}}`