2025-03-14 21:59:59 -06:00
|
|
|
# kahlan
|
|
|
|
|
|
|
|
|
|
> A unit and Behaviour Driven Development test framework for PHP.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://kahlan.github.io/docs/cli-options.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|