Options (2)
-c, --configbooleanRun specifications using a specific configuration file
Example:
phpspec run {{[-c|--config]}} {{path/to/configuration_file}}-b, --bootstrapbooleanRun specifications using a specific bootstrap file
Example:
phpspec run {{[-b|--bootstrap]}} {{path/to/bootstrap_file}}Examples (7)
Create a specification for a class
phpspec describe class_nameRun all specifications in the "spec" directory
phpspec runRun a single specification
phpspec run path/to/class_specification_fileRun specifications using a specific configuration file
phpspec run [-c|--config] path/to/configuration_fileRun specifications using a specific bootstrap file
phpspec run [-b|--bootstrap] path/to/bootstrap_fileDisable code generation prompts
phpspec run --no-code-generationEnable fake return values
phpspec run --fakemade by @shridhargupta | data from tldr-pages