phpspec Command Examples

A Behaviour Driven Development tool for PHP. More information: https://phpspec.net.

phpspec describe {{class_name}}

phpspec run

phpspec run {{path/to/class_specification_file}}

phpspec run -c {{path/to/configuration_file}}

phpspec run -b {{path/to/bootstrap_file}}

phpspec run --no-code-generation

phpspec run --fake