snippetbashTip
kahlan — A unit and Behaviour Driven Development test framework for PHP. More information: <https://kahlan.gi
Viewed 0 times
unitdrivencommandandkahlanbehaviourdevelopmentcli
Problem
How to use the
kahlan command: A unit and Behaviour Driven Development test framework for PHP. More information: <https://kahlan.github.io/docs/cli-options.html>.Solution
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:
kahlanRun 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}}Code Snippets
Run all specifications in the "spec" directory
kahlanRun 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}}Context
tldr-pages: common/kahlan
Revisions (0)
No revisions yet.