phpspec
A behavior-driven development tool for PHP. More information: https://phpspec.net/en/stable/cookbook/console.html.
- Create a specification for a class:
phpspec describe
- Run all specifications in the "spec" directory:
phpspec run
- Run a single specification:
phpspec run
- Run specifications using a specific configuration file:
phpspec run
- Run specifications using a specific bootstrap file:
phpspec run
- Disable code generation prompts:
phpspec run --no-code-generation
- Enable fake return values:
phpspec run --fake
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
